Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_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.01437/0.01437, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.272/1.272, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.743/2.743, allocations: 223.2 MB / 406.8 MB, free: 3.133 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 97.95 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.000594, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8136/0.8142, allocations: 82.31 MB / 0.6495 GB, free: 36.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.62/9.434, allocations: 1.934 GB / 2.583 GB, free: 39.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/9.435, allocations: 96.52 kB / 2.583 GB, free: 39.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.924/14.36, allocations: 0.6283 GB / 3.212 GB, free: 128.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.566e-06/14.36, allocations: 0 / 3.212 GB, free: 128.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003194/14.36, allocations: 44.38 kB / 3.212 GB, free: 128.7 MB / 0.698 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.01103/14.37, allocations: 1.767 MB / 3.213 GB, free: 127.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001062/14.37, allocations: 8.625 kB / 3.213 GB, free: 127.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001178/14.37, allocations: 153.9 kB / 3.213 GB, free: 127.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/14.38, allocations: 377.6 kB / 3.214 GB, free: 127.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00716/14.38, allocations: 1.232 MB / 3.215 GB, free: 127.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/14.38, allocations: 79.44 kB / 3.215 GB, free: 127.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/14.38, allocations: 107.8 kB / 3.215 GB, free: 127.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/14.39, allocations: 1.126 MB / 3.216 GB, free: 127.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/14.39, allocations: 3.906 kB / 3.216 GB, free: 127.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/14.39, allocations: 40.88 kB / 3.216 GB, free: 127.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.509e-05/14.39, allocations: 40.88 kB / 3.216 GB, free: 127.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/14.39, allocations: 0.8285 MB / 3.217 GB, free: 127.3 MB / 0.698 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.01241/14.4, allocations: 5.134 MB / 3.222 GB, free: 124.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/14.41, allocations: 0.7458 MB / 3.223 GB, free: 124.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009579/14.41, allocations: 317 kB / 3.223 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/14.41, allocations: 44.69 kB / 3.223 GB, free: 124.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 5.711e-06/14.41, allocations: 0 / 3.223 GB, free: 124.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.004011/14.41, allocations: 1.01 MB / 3.224 GB, free: 124 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/14.41, allocations: 164.6 kB / 3.224 GB, free: 123.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/14.41, allocations: 0.7586 MB / 3.225 GB, free: 123.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/14.41, allocations: 44.77 kB / 3.225 GB, free: 123.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008681/14.42, allocations: 0.5508 MB / 3.226 GB, free: 123.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005694/14.42, allocations: 257.5 kB / 3.226 GB, free: 123.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/14.42, allocations: 17.62 kB / 3.226 GB, free: 123.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002168/14.42, allocations: 338.4 kB / 3.226 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009143/14.42, allocations: 270.4 kB / 3.227 GB, free: 123.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/14.42, allocations: 0.5017 MB / 3.227 GB, free: 122.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009199/14.42, allocations: 341.8 kB / 3.227 GB, free: 122.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/14.42, allocations: 0 / 3.227 GB, free: 122.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002994/14.42, allocations: 0.867 MB / 3.228 GB, free: 122.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008366/14.42, allocations: 1.662 MB / 3.23 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/14.42, allocations: 6.469 kB / 3.23 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.263e-05/14.42, allocations: 7.938 kB / 3.23 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/14.43, allocations: 262.9 kB / 3.23 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/14.43, allocations: 1.414 MB / 3.231 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/14.43, allocations: 121.7 kB / 3.232 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/14.43, allocations: 34.5 kB / 3.232 GB, free: 119.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/14.43, allocations: 3.844 kB / 3.232 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002127/14.43, allocations: 0.7397 MB / 3.232 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/14.43, allocations: 6.625 kB / 3.232 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/14.43, allocations: 11.25 kB / 3.232 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/14.44, allocations: 262.2 kB / 3.233 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/14.44, allocations: 1.416 MB / 3.234 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/14.44, allocations: 127.6 kB / 3.234 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/14.44, allocations: 34.55 kB / 3.234 GB, free: 118.2 MB / 0.698 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.001621/14.44, allocations: 368.7 kB / 3.235 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007864/14.44, allocations: 110 kB / 3.235 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/14.45, allocations: 0.845 MB / 3.235 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/14.45, allocations: 7.438 kB / 3.235 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/14.45, allocations: 0 / 3.235 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001971/14.45, allocations: 0.7587 MB / 3.236 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008612/14.46, allocations: 2.02 MB / 3.238 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/14.46, allocations: 0 / 3.238 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/14.46, allocations: 155 kB / 3.238 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007197/14.46, allocations: 43.16 kB / 3.238 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/14.46, allocations: 21.64 kB / 3.238 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/14.46, allocations: 1.39 MB / 3.24 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/14.46, allocations: 3.531 kB / 3.24 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004303/14.47, allocations: 1.427 MB / 3.241 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/14.47, allocations: 264.7 kB / 3.241 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/14.47, allocations: 19.94 kB / 3.241 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/14.47, allocations: 72.39 kB / 3.241 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/14.47, allocations: 52 kB / 3.242 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/14.47, allocations: 21.97 kB / 3.242 GB, free: 115.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001503/14.47, allocations: 0.5982 MB / 3.242 GB, free: 115.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/14.47, allocations: 2.562 kB / 3.242 GB, free: 115.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004123/14.47, allocations: 0.7166 MB / 3.243 GB, free: 115.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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.00999/14.48, allocations: 4.127 MB / 3.247 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006288/14.49, allocations: 1.193 MB / 3.248 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/14.49, allocations: 3.781 kB / 3.248 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/14.49, allocations: 473.2 kB / 3.248 GB, free: 113.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005222/14.5, allocations: 499.9 kB / 3.249 GB, free: 113.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/14.52, allocations: 9.44 MB / 3.258 GB, free: 108.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/14.52, allocations: 1.166 MB / 3.259 GB, free: 107.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002132/14.52, allocations: 269.9 kB / 3.26 GB, free: 107.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/14.52, allocations: 460.8 kB / 3.26 GB, free: 107.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.494e-06/14.52, allocations: 0 / 3.26 GB, free: 107.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/14.68, allocations: 54.14 MB / 3.313 GB, free: 91.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/14.68, allocations: 257.8 kB / 3.313 GB, free: 91.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/21.27, allocations: 0 / 3.313 GB, free: 91.18 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)