Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 251.9 MB / 0.51 GB, free: 4.922 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 12 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4947, allocations: 106.3 MB / 0.728 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.7999/1.295, allocations: 209.7 MB / 0.9327 GB, free: 16.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01659/1.311, allocations: 9.666 MB / 0.9422 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/1.314, allocations: 59.53 kB / 0.9422 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003158/1.317, allocations: 0.8657 MB / 0.9431 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009407/1.327, allocations: 2.761 MB / 0.9458 GB, free: 16.08 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006566/1.333, allocations: 1.841 MB / 0.9476 GB, free: 16.04 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006444/1.34, allocations: 2.458 MB / 0.95 GB, free: 16.04 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/1.342, allocations: 1.188 MB / 0.9511 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/1.346, allocations: 1.469 MB / 0.9525 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.348, allocations: 0.8569 MB / 0.9534 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/1.348, allocations: 62.56 kB / 0.9534 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004/1.352, allocations: 1.514 MB / 0.9549 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/1.353, allocations: 445.5 kB / 0.9553 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006457/1.353, allocations: 403.5 kB / 0.9557 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/1.356, allocations: 2.349 MB / 0.958 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/1.356, allocations: 3.062 kB / 0.958 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/1.356, allocations: 0 / 0.958 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.73e-05/1.356, allocations: 0 / 0.958 GB, free: 15.64 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003805/1.36, allocations: 2.094 MB / 0.9601 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/1.36, allocations: 8.969 kB / 0.9601 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/1.364, allocations: 0.6362 MB / 0.9607 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/1.367, allocations: 1.316 MB / 0.962 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/1.367, allocations: 163.4 kB / 0.9621 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/1.367, allocations: 132 kB / 0.9623 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/1.37, allocations: 1.447 MB / 0.9637 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.37, allocations: 2.906 kB / 0.9637 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.37, allocations: 50.25 kB / 0.9637 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/1.37, allocations: 47.84 kB / 0.9638 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/1.372, allocations: 1.207 MB / 0.965 GB, free: 13.68 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008062/1.38, allocations: 5.896 MB / 0.9707 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.382, allocations: 0.987 MB / 0.9717 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/1.382, allocations: 149.5 kB / 0.9718 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/1.383, allocations: 0.5559 MB / 0.9724 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=79): time 3.406e-06/1.383, allocations: 0 / 0.9724 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=79): time 0.003871/1.387, allocations: 1.722 MB / 0.974 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.387, allocations: 86.7 kB / 0.9741 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/1.389, allocations: 1.323 MB / 0.9754 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.657e-05/1.389, allocations: 46.66 kB / 0.9755 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/1.39, allocations: 0.7471 MB / 0.9762 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/1.39, allocations: 276.2 kB / 0.9765 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/1.39, allocations: 17.88 kB / 0.9765 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/1.39, allocations: 344.9 kB / 0.9768 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008287/1.391, allocations: 415 kB / 0.9772 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/1.392, allocations: 0.6569 MB / 0.9778 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/1.393, allocations: 0.503 MB / 0.9783 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/1.393, allocations: 0 / 0.9783 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002535/1.395, allocations: 1.367 MB / 0.9797 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003844/1.396, allocations: 2.095 MB / 0.9817 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.396, allocations: 5.812 kB / 0.9817 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/1.396, allocations: 76.67 kB / 0.9818 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/1.397, allocations: 208.8 kB / 0.982 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003644/1.397, allocations: 0.6064 MB / 0.9826 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.399, allocations: 194.5 kB / 0.9828 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/1.399, allocations: 41.02 kB / 0.9828 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/1.399, allocations: 6.25 kB / 0.9828 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002145/1.401, allocations: 1.198 MB / 0.984 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.401, allocations: 5.719 kB / 0.984 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/1.401, allocations: 41.59 kB / 0.984 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/1.402, allocations: 213.7 kB / 0.9842 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/1.403, allocations: 1.617 MB / 0.9858 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/1.405, allocations: 188 kB / 0.986 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/1.405, allocations: 40.33 kB / 0.986 GB, free: 3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 104 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007266/1.405, allocations: 0.4938 MB / 0.9865 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/1.406, allocations: 159.2 kB / 0.9867 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/1.408, allocations: 1.214 MB / 0.9879 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/1.408, allocations: 8.094 kB / 0.9879 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.408, allocations: 128 / 0.9879 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/1.41, allocations: 1.071 MB / 0.9889 GB, free: 2.004 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/1.414, allocations: 2.802 MB / 0.9916 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.414, allocations: 7.109 kB / 0.9916 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/1.415, allocations: 170 kB / 0.9918 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/1.415, allocations: 58.34 kB / 0.9919 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/1.415, allocations: 22.28 kB / 0.9919 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002529/1.415, allocations: 0.5788 MB / 0.9925 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.416, allocations: 2.75 kB / 0.9925 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/1.419, allocations: 2.008 MB / 0.9944 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/1.419, allocations: 345 kB / 0.9947 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.419, allocations: 19.09 kB / 0.9948 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.421, allocations: 117.8 kB / 0.9949 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.421, allocations: 54.23 kB / 0.9949 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/1.421, allocations: 34.16 kB / 0.995 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001216/1.422, allocations: 0.8994 MB / 0.9958 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.422, allocations: 0 / 0.9958 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002131/1.424, allocations: 0.7843 MB / 0.9966 GB, free: 14.92 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006295/1.425, allocations: 281.7 kB / 0.9969 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003681/1.428, allocations: 1.898 MB / 0.9987 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.428, allocations: 3.875 kB / 0.9987 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.429, allocations: 0.5687 MB / 0.9993 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/1.433, allocations: 0.7761 MB / 1 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/1.442, allocations: 3.83 MB / 1.004 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009928/1.443, allocations: 1.363 MB / 1.005 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001895/1.445, allocations: 359.2 kB / 1.005 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/1.445, allocations: 112.4 kB / 1.006 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.413e-06/1.445, allocations: 0 / 1.006 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.04726/1.492, allocations: 26.43 MB / 1.031 GB, free: 0.8359 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) Environment - environmentSimulation: