Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7922/0.7922, allocations: 117.9 MB / 133.9 MB, free: 4.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009961/0.0009958, allocations: 175.1 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 394.8 MB, free: 20.94 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008364/0.0008363, allocations: 109.9 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004471, allocations: 8 kB / 0.5423 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3477, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.181/5.529, allocations: 2.164 GB / 2.779 GB, free: 219.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/5.529, allocations: 95.97 kB / 2.779 GB, free: 219.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.928/9.458, allocations: 1.019 GB / 3.798 GB, free: 80.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/9.458, allocations: 0 / 3.798 GB, free: 80.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003536/9.458, allocations: 51.69 kB / 3.798 GB, free: 80.02 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.007982/9.466, allocations: 2.36 MB / 3.8 GB, free: 78.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/9.466, allocations: 9.75 kB / 3.8 GB, free: 78.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/9.47, allocations: 0.5935 MB / 3.801 GB, free: 78.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/9.476, allocations: 1.676 MB / 3.803 GB, free: 78.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/9.476, allocations: 93.2 kB / 3.803 GB, free: 78.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005255/9.476, allocations: 122 kB / 3.803 GB, free: 78.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004219/9.481, allocations: 1.482 MB / 3.804 GB, free: 78.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/9.481, allocations: 2.438 kB / 3.804 GB, free: 78.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/9.481, allocations: 47.97 kB / 3.804 GB, free: 78.17 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/9.481, allocations: 44.11 kB / 3.804 GB, free: 78.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/9.484, allocations: 1.153 MB / 3.806 GB, free: 78.15 MB / 0.6511 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.01054/9.494, allocations: 5.825 MB / 3.811 GB, free: 75.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/9.497, allocations: 1.028 MB / 3.812 GB, free: 75.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/9.497, allocations: 483.5 kB / 3.813 GB, free: 75.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/9.498, allocations: 292.4 kB / 3.813 GB, free: 75.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/9.499, allocations: 0.5645 MB / 3.814 GB, free: 75.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 3.948e-06/9.499, allocations: 0 / 3.814 GB, free: 75.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.005587/9.505, allocations: 1.725 MB / 3.815 GB, free: 74.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/9.505, allocations: 191.6 kB / 3.815 GB, free: 74.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/9.508, allocations: 1.284 MB / 3.817 GB, free: 74.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/9.508, allocations: 48.14 kB / 3.817 GB, free: 74.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000862/9.509, allocations: 0.7548 MB / 3.817 GB, free: 74.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/9.509, allocations: 283.4 kB / 3.818 GB, free: 73.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/9.509, allocations: 14.25 kB / 3.818 GB, free: 73.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001164/9.509, allocations: 344.5 kB / 3.818 GB, free: 73.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000841/9.51, allocations: 370.7 kB / 3.818 GB, free: 73.58 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/9.511, allocations: 0.6232 MB / 3.819 GB, free: 73.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/9.513, allocations: 0.986 MB / 3.82 GB, free: 73.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/9.513, allocations: 0 / 3.82 GB, free: 73.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003836/9.517, allocations: 1.334 MB / 3.821 GB, free: 72.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/9.517, allocations: 251.6 kB / 3.821 GB, free: 72.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/9.517, allocations: 10.5 kB / 3.821 GB, free: 72.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/9.518, allocations: 68.2 kB / 3.822 GB, free: 72.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/9.518, allocations: 181.9 kB / 3.822 GB, free: 72.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/9.522, allocations: 2.006 MB / 3.824 GB, free: 71.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/9.524, allocations: 167.5 kB / 3.824 GB, free: 71.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/9.525, allocations: 40.88 kB / 3.824 GB, free: 71.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/9.525, allocations: 3.625 kB / 3.824 GB, free: 71.15 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002299/9.527, allocations: 1.09 MB / 3.825 GB, free: 70.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/9.527, allocations: 6.25 kB / 3.825 GB, free: 70.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/9.527, allocations: 46.64 kB / 3.825 GB, free: 70.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/9.528, allocations: 172.2 kB / 3.825 GB, free: 70.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/9.529, allocations: 1.553 MB / 3.827 GB, free: 69.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/9.531, allocations: 145.9 kB / 3.827 GB, free: 69.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/9.531, allocations: 40.3 kB / 3.827 GB, free: 69.54 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (98): * Single equations (assignments): 96 * 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 prepare postOptimizeDAE: time 0.001192/9.532, allocations: 0.5007 MB / 3.827 GB, free: 69.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005271/9.533, allocations: 162.8 kB / 3.828 GB, free: 69.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/9.536, allocations: 1.236 MB / 3.829 GB, free: 69.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/9.536, allocations: 7.812 kB / 3.829 GB, free: 69.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/9.536, allocations: 0 / 3.829 GB, free: 69.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002527/9.538, allocations: 1.104 MB / 3.83 GB, free: 68.91 MB / 0.6511 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.006487/9.545, allocations: 2.807 MB / 3.833 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/9.545, allocations: 1.719 kB / 3.833 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/9.546, allocations: 158.6 kB / 3.833 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/9.546, allocations: 58.58 kB / 3.833 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/9.546, allocations: 33.25 kB / 3.833 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/9.549, allocations: 1.746 MB / 3.834 GB, free: 66.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/9.549, allocations: 3.406 kB / 3.834 GB, free: 66.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/9.553, allocations: 1.877 MB / 3.836 GB, free: 66.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/9.555, allocations: 351.5 kB / 3.837 GB, free: 66.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006013/9.555, allocations: 21.16 kB / 3.837 GB, free: 66.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/9.557, allocations: 104 kB / 3.837 GB, free: 66.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/9.557, allocations: 52.66 kB / 3.837 GB, free: 66.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/9.557, allocations: 42.72 kB / 3.837 GB, free: 66.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002126/9.559, allocations: 0.8732 MB / 3.838 GB, free: 66.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.11e-07/9.559, allocations: 0 / 3.838 GB, free: 66.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004508/9.564, allocations: 1.005 MB / 3.839 GB, free: 66.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (72): * Single equations (assignments): 70 * 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.004175/9.568, allocations: 2.371 MB / 3.841 GB, free: 65.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003631/9.572, allocations: 1.804 MB / 3.843 GB, free: 65.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/9.572, allocations: 3.688 kB / 3.843 GB, free: 65.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/9.573, allocations: 0.6599 MB / 3.843 GB, free: 64.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005962/9.579, allocations: 0.7965 MB / 3.844 GB, free: 64.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008857/9.588, allocations: 3.85 MB / 3.848 GB, free: 63.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/9.589, allocations: 1.345 MB / 3.849 GB, free: 62.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002299/9.592, allocations: 372.6 kB / 3.85 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/9.592, allocations: 113 kB / 3.85 GB, free: 62.53 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/9.592, allocations: 2.812 kB / 3.85 GB, free: 62.53 MB / 0.6511 GB Notification: Performance of Templates: time 0.08135/9.673, allocations: 54.76 MB / 3.903 GB, free: 41.52 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)