Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.7053/0.7053, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001003/0.001003, allocations: 186.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.277/1.277, 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.0008431/0.0008431, allocations: 96.95 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.001676/0.001676, allocations: 283.8 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.255e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3809, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.617/3.998, allocations: 1.883 GB / 2.647 GB, free: 124.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/3.998, allocations: 83.45 kB / 2.647 GB, free: 124.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.372/6.37, allocations: 0.7578 GB / 3.405 GB, free: 123.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/6.37, allocations: 3.906 kB / 3.405 GB, free: 123.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001449/6.37, allocations: 43.61 kB / 3.405 GB, free: 123.3 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00371/6.374, allocations: 1.538 MB / 3.406 GB, free: 122.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/6.374, allocations: 10.16 kB / 3.406 GB, free: 122.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004117/6.375, allocations: 168.4 kB / 3.407 GB, free: 122.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/6.378, allocations: 481.1 kB / 3.407 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/6.381, allocations: 1.072 MB / 3.408 GB, free: 122.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/6.381, allocations: 92.64 kB / 3.408 GB, free: 122.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/6.381, allocations: 108.6 kB / 3.408 GB, free: 122.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/6.383, allocations: 1.203 MB / 3.41 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/6.383, allocations: 6.938 kB / 3.41 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/6.383, allocations: 43.84 kB / 3.41 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/6.383, allocations: 42.25 kB / 3.41 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/6.385, allocations: 0.9919 MB / 3.411 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006151/6.391, allocations: 4.515 MB / 3.415 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/6.392, allocations: 0.6112 MB / 3.416 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/6.392, allocations: 401.2 kB / 3.416 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/6.393, allocations: 295.5 kB / 3.416 GB, free: 120.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/6.393, allocations: 49.33 kB / 3.416 GB, free: 120 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.226e-06/6.393, allocations: 0 / 3.416 GB, free: 120 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.002013/6.395, allocations: 0.8278 MB / 3.417 GB, free: 119.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/6.395, allocations: 58.69 kB / 3.417 GB, free: 119.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/6.396, allocations: 0.8984 MB / 3.418 GB, free: 119.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/6.396, allocations: 45.05 kB / 3.418 GB, free: 119.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/6.397, allocations: 0.5797 MB / 3.419 GB, free: 119.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/6.397, allocations: 241.3 kB / 3.419 GB, free: 119.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/6.397, allocations: 16.78 kB / 3.419 GB, free: 119.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.729e-05/6.397, allocations: 338.1 kB / 3.419 GB, free: 119 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/6.398, allocations: 294.6 kB / 3.42 GB, free: 119 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/6.398, allocations: 0.5081 MB / 3.42 GB, free: 118.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/6.399, allocations: 388.1 kB / 3.42 GB, free: 118.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/6.399, allocations: 0 / 3.42 GB, free: 118.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001263/6.4, allocations: 0.9484 MB / 3.421 GB, free: 118.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/6.4, allocations: 5.812 kB / 3.421 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/6.4, allocations: 8.328 kB / 3.421 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/6.4, allocations: 8.844 kB / 3.421 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/6.401, allocations: 169 kB / 3.421 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/6.401, allocations: 11.88 kB / 3.421 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/6.402, allocations: 119.3 kB / 3.422 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/6.402, allocations: 35.95 kB / 3.422 GB, free: 118.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/6.402, allocations: 160.4 kB / 3.422 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/6.402, allocations: 127.6 kB / 3.422 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/6.403, allocations: 136.6 kB / 3.422 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/6.403, allocations: 7.25 kB / 3.422 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/6.403, allocations: 3.219 kB / 3.422 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009704/6.404, allocations: 0.9234 MB / 3.423 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/6.407, allocations: 2.28 MB / 3.425 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/6.407, allocations: 7.922 kB / 3.425 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/6.407, allocations: 129.1 kB / 3.425 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/6.408, allocations: 90.19 kB / 3.425 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/6.408, allocations: 24.69 kB / 3.425 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/6.409, allocations: 2.867 MB / 3.428 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/6.409, allocations: 7.281 kB / 3.428 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/6.411, allocations: 1.576 MB / 3.43 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/6.411, allocations: 303.7 kB / 3.43 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/6.412, allocations: 21.94 kB / 3.43 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/6.413, allocations: 59.81 kB / 3.43 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/6.413, allocations: 59.61 kB / 3.43 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/6.413, allocations: 32.95 kB / 3.43 GB, free: 114.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009138/6.414, allocations: 0.717 MB / 3.431 GB, free: 114.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.414, allocations: 0 / 3.431 GB, free: 114.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001575/6.416, allocations: 0.5529 MB / 3.431 GB, free: 114.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003963/6.42, allocations: 4.63 MB / 3.436 GB, free: 111.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00103/6.421, allocations: 0.7052 MB / 3.437 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/6.421, allocations: 0 / 3.437 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006627/6.421, allocations: 0.5741 MB / 3.437 GB, free: 111 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/6.425, allocations: 0.8271 MB / 3.438 GB, free: 110.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/6.429, allocations: 2.348 MB / 3.44 GB, free: 109.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/6.429, allocations: 1.252 MB / 3.442 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001174/6.431, allocations: 331.8 kB / 3.442 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/6.431, allocations: 462.9 kB / 3.442 GB, free: 108.8 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/6.431, allocations: 0 / 3.442 GB, free: 108.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08187/6.513, allocations: 65.46 MB / 3.506 GB, free: 51.26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/6.513, allocations: 232.6 kB / 3.506 GB, free: 50.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.605/10.12, allocations: 0 / 3.506 GB, free: 50.95 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)