Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001675, allocations: 183 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5296/0.5296, allocations: 91.98 MB / 108.5 MB, free: 13.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.39 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004033, allocations: 8 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 72.32 MB / 0.5689 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.973/5.139, allocations: 1.924 GB / 2.493 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/5.14, allocations: 91.36 kB / 2.493 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.433/7.573, allocations: 0.6306 GB / 3.124 GB, free: 90.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/7.573, allocations: 1.219 kB / 3.124 GB, free: 90.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001227/7.573, allocations: 41.56 kB / 3.124 GB, free: 90.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003978/7.577, allocations: 1.769 MB / 3.126 GB, free: 90.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/7.577, allocations: 8.312 kB / 3.126 GB, free: 90.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002457/7.577, allocations: 160.3 kB / 3.126 GB, free: 90.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/7.58, allocations: 372.5 kB / 3.126 GB, free: 90.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/7.583, allocations: 1.228 MB / 3.127 GB, free: 90.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/7.583, allocations: 85.98 kB / 3.127 GB, free: 90.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/7.584, allocations: 106.4 kB / 3.127 GB, free: 90.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/7.586, allocations: 1.122 MB / 3.129 GB, free: 89.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/7.586, allocations: 3.281 kB / 3.129 GB, free: 89.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.564e-05/7.586, allocations: 43.66 kB / 3.129 GB, free: 89.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/7.586, allocations: 35.5 kB / 3.129 GB, free: 89.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/7.588, allocations: 0.8389 MB / 3.129 GB, free: 89.8 MB / 0.6198 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.006423/7.594, allocations: 5.14 MB / 3.134 GB, free: 87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/7.595, allocations: 0.7405 MB / 3.135 GB, free: 86.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/7.596, allocations: 309.2 kB / 3.135 GB, free: 86.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/7.596, allocations: 39.8 kB / 3.135 GB, free: 86.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/7.596, allocations: 6.844 kB / 3.135 GB, free: 86.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70): time 0.002093/7.598, allocations: 1.01 MB / 3.136 GB, free: 86.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/7.598, allocations: 166.9 kB / 3.137 GB, free: 86.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/7.599, allocations: 0.7595 MB / 3.137 GB, free: 86.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.47e-05/7.599, allocations: 44.14 kB / 3.137 GB, free: 86.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/7.6, allocations: 0.5514 MB / 3.138 GB, free: 86.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/7.6, allocations: 251 kB / 3.138 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/7.6, allocations: 14.47 kB / 3.138 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/7.6, allocations: 337.8 kB / 3.139 GB, free: 85.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/7.601, allocations: 275.8 kB / 3.139 GB, free: 85.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/7.601, allocations: 0.4963 MB / 3.139 GB, free: 85.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/7.602, allocations: 335.8 kB / 3.14 GB, free: 85.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/7.602, allocations: 1.438 kB / 3.14 GB, free: 85.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001791/7.604, allocations: 0.8676 MB / 3.14 GB, free: 85.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004021/7.604, allocations: 1.672 MB / 3.142 GB, free: 83.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/7.604, allocations: 8.422 kB / 3.142 GB, free: 83.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/7.604, allocations: 8.031 kB / 3.142 GB, free: 83.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/7.606, allocations: 260.2 kB / 3.142 GB, free: 83.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/7.607, allocations: 1.418 MB / 3.144 GB, free: 82.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/7.608, allocations: 134.9 kB / 3.144 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/7.608, allocations: 34.25 kB / 3.144 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/7.608, allocations: 4.656 kB / 3.144 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001408/7.61, allocations: 0.7405 MB / 3.145 GB, free: 82.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/7.61, allocations: 3.844 kB / 3.145 GB, free: 82.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/7.61, allocations: 8.406 kB / 3.145 GB, free: 82.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/7.611, allocations: 260.9 kB / 3.145 GB, free: 82.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/7.612, allocations: 1.413 MB / 3.146 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/7.614, allocations: 134.5 kB / 3.146 GB, free: 80.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/7.614, allocations: 31.48 kB / 3.146 GB, free: 80.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007772/7.614, allocations: 375.1 kB / 3.147 GB, free: 80.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/7.615, allocations: 113.8 kB / 3.147 GB, free: 80.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/7.617, allocations: 0.846 MB / 3.148 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/7.617, allocations: 6.969 kB / 3.148 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/7.617, allocations: 0 / 3.148 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001521/7.619, allocations: 0.7613 MB / 3.148 GB, free: 80.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004413/7.623, allocations: 2.018 MB / 3.15 GB, free: 79.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/7.623, allocations: 2.5 kB / 3.15 GB, free: 79.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/7.624, allocations: 149.9 kB / 3.151 GB, free: 79.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/7.624, allocations: 49.78 kB / 3.151 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/7.624, allocations: 20.83 kB / 3.151 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/7.626, allocations: 1.382 MB / 3.152 GB, free: 78.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/7.626, allocations: 11.88 kB / 3.152 GB, free: 78.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/7.628, allocations: 1.397 MB / 3.153 GB, free: 78.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/7.629, allocations: 266.4 kB / 3.154 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/7.629, allocations: 16.31 kB / 3.154 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000991/7.63, allocations: 71.38 kB / 3.154 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/7.63, allocations: 53.17 kB / 3.154 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/7.63, allocations: 21.92 kB / 3.154 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001189/7.632, allocations: 0.5978 MB / 3.154 GB, free: 77.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/7.632, allocations: 5.766 kB / 3.154 GB, free: 77.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003093/7.635, allocations: 0.7252 MB / 3.155 GB, free: 77.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005734/7.64, allocations: 4.087 MB / 3.159 GB, free: 76.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003126/7.644, allocations: 1.189 MB / 3.16 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/7.644, allocations: 0 / 3.16 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008801/7.645, allocations: 484.2 kB / 3.161 GB, free: 75.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/7.647, allocations: 0.4897 MB / 3.161 GB, free: 75.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/7.659, allocations: 9.448 MB / 3.17 GB, free: 70.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/7.66, allocations: 1.168 MB / 3.172 GB, free: 70.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001243/7.661, allocations: 275 kB / 3.172 GB, free: 70.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/7.662, allocations: 459.2 kB / 3.172 GB, free: 70.05 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/7.662, allocations: 0 / 3.172 GB, free: 70.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0784/7.74, allocations: 54.11 MB / 3.225 GB, free: 68.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/7.74, allocations: 249.7 kB / 3.225 GB, free: 68.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/11.72, allocations: 3.375 kB / 3.225 GB, free: 68.15 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)