Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7005/0.7005, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009523/0.0009522, allocations: 183.5 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0008189/0.0008189, allocations: 99.17 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001611/0.001611, allocations: 277.3 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.225e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3612, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.695/4.057, allocations: 1.931 GB / 2.695 GB, free: 114.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/4.057, allocations: 87.95 kB / 2.695 GB, free: 114.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.752/5.809, allocations: 0.6276 GB / 3.323 GB, free: 9.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/5.809, allocations: 0 / 3.323 GB, free: 9.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.406e-05/5.809, allocations: 39.92 kB / 3.323 GB, free: 9.641 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.002718/5.812, allocations: 1.573 MB / 3.324 GB, free: 8.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/5.812, allocations: 12.03 kB / 3.324 GB, free: 8.008 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/5.812, allocations: 156.2 kB / 3.325 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/5.814, allocations: 361.9 kB / 3.325 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/5.816, allocations: 1.23 MB / 3.326 GB, free: 6.219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/5.816, allocations: 74 kB / 3.326 GB, free: 6.145 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/5.816, allocations: 104 kB / 3.326 GB, free: 6.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/5.818, allocations: 1.082 MB / 3.327 GB, free: 4.898 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/5.818, allocations: 4 kB / 3.327 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/5.818, allocations: 40 kB / 3.327 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/5.818, allocations: 38 kB / 3.327 GB, free: 4.816 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/5.819, allocations: 0.769 MB / 3.328 GB, free: 4.047 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004903/5.824, allocations: 5.131 MB / 3.333 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/5.825, allocations: 0.672 MB / 3.334 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/5.825, allocations: 329.5 kB / 3.334 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/5.826, allocations: 303.8 kB / 3.335 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/5.826, allocations: 51.08 kB / 3.335 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/5.826, allocations: 0 / 3.335 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001403/5.827, allocations: 0.6929 MB / 3.335 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/5.827, allocations: 162.8 kB / 3.335 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/5.828, allocations: 0.7469 MB / 3.336 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/5.828, allocations: 41.7 kB / 3.336 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/5.829, allocations: 0.5585 MB / 3.337 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/5.829, allocations: 248.3 kB / 3.337 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/5.829, allocations: 16 kB / 3.337 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001113/5.829, allocations: 337.9 kB / 3.337 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/5.83, allocations: 233.5 kB / 3.338 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/5.83, allocations: 478.3 kB / 3.338 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/5.831, allocations: 312.5 kB / 3.338 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/5.831, allocations: 4 kB / 3.338 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001159/5.832, allocations: 0.8076 MB / 3.339 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005515/5.832, allocations: 1.667 MB / 3.341 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/5.832, allocations: 7.984 kB / 3.341 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/5.832, allocations: 12 kB / 3.341 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/5.834, allocations: 255.7 kB / 3.341 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/5.835, allocations: 1.401 MB / 3.342 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008987/5.836, allocations: 127.3 kB / 3.342 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/5.836, allocations: 35.98 kB / 3.342 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/5.836, allocations: 4 kB / 3.342 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001009/5.837, allocations: 0.6821 MB / 3.343 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/5.837, allocations: 4 kB / 3.343 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/5.837, allocations: 15.95 kB / 3.343 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/5.838, allocations: 255.8 kB / 3.343 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/5.84, allocations: 1.418 MB / 3.345 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/5.84, allocations: 127.2 kB / 3.345 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/5.84, allocations: 31.98 kB / 3.345 GB, free: 1.945 MB / 0.7136 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 () * 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.0001774/5.841, allocations: 148.8 kB / 3.345 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/5.841, allocations: 110.7 kB / 3.345 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/5.842, allocations: 0.7892 MB / 3.346 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/5.842, allocations: 8 kB / 3.346 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/5.842, allocations: 3.938 kB / 3.346 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/5.843, allocations: 0.7029 MB / 3.347 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3675/6.211, allocations: 1.948 MB / 3.349 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/6.211, allocations: 4.812 kB / 3.349 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/6.212, allocations: 152.8 kB / 3.349 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000396/6.212, allocations: 47.89 kB / 3.349 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/6.212, allocations: 15.33 kB / 3.349 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/6.213, allocations: 1.379 MB / 3.35 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.213, allocations: 2.25 kB / 3.35 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/6.216, allocations: 1.339 MB / 3.351 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006125/6.216, allocations: 260 kB / 3.352 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/6.217, allocations: 23.73 kB / 3.352 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/6.217, allocations: 77.53 kB / 3.352 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/6.217, allocations: 52.11 kB / 3.352 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/6.217, allocations: 23.69 kB / 3.352 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001326/6.219, allocations: 0.5811 MB / 3.352 GB, free: 121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.92e-07/6.219, allocations: 0 / 3.352 GB, free: 121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002871/6.222, allocations: 0.7162 MB / 3.353 GB, free: 121 MB / 0.7136 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 () * 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.005043/6.227, allocations: 4.058 MB / 3.357 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002789/6.23, allocations: 1.137 MB / 3.358 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/6.23, allocations: 0 / 3.358 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000732/6.23, allocations: 446.5 kB / 3.359 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/6.233, allocations: 496.5 kB / 3.359 GB, free: 119 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/6.236, allocations: 1.962 MB / 3.361 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/6.237, allocations: 1.169 MB / 3.362 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001215/6.238, allocations: 352 kB / 3.362 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/6.238, allocations: 450.5 kB / 3.363 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/6.238, allocations: 0 / 3.363 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07457/6.313, allocations: 60.31 MB / 3.422 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/6.313, allocations: 240.7 kB / 3.422 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.693/10.01, allocations: 0 / 3.422 GB, free: 116.2 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)