Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.922/0.922, allocations: 143.3 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 181 kB / 191.5 MB, free: 5.758 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.691/1.691, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.0009787/0.0009786, allocations: 96.33 kB / 0.5187 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 271.5 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004711, allocations: 14.06 kB / 0.6929 GB, free: 59.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1917, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.085/5.277, allocations: 1.877 GB / 2.651 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/5.277, allocations: 87.16 kB / 2.651 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.301/6.579, allocations: 360.1 MB / 3.003 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.855e-06/6.579, allocations: 0 / 3.003 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.52e-05/6.579, allocations: 20 kB / 3.003 GB, free: 130.1 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002345/6.581, allocations: 1.095 MB / 3.004 GB, free: 128.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/6.581, allocations: 12.02 kB / 3.004 GB, free: 128.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/6.581, allocations: 98.52 kB / 3.004 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/6.583, allocations: 274.7 kB / 3.004 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/6.584, allocations: 0.6806 MB / 3.005 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/6.584, allocations: 45.31 kB / 3.005 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.186e-05/6.584, allocations: 60 kB / 3.005 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009422/6.585, allocations: 0.557 MB / 3.005 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/6.585, allocations: 0 / 3.005 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/6.586, allocations: 27.95 kB / 3.005 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/6.586, allocations: 17.31 kB / 3.005 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007697/6.586, allocations: 493 kB / 3.006 GB, free: 126.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/6.589, allocations: 2.384 MB / 3.008 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/6.59, allocations: 405.5 kB / 3.009 GB, free: 123.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/6.59, allocations: 109 kB / 3.009 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/6.59, allocations: 39.28 kB / 3.009 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/6.59, allocations: 0 / 3.009 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.002449/6.592, allocations: 1.427 MB / 3.01 GB, free: 122 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/6.593, allocations: 55.84 kB / 3.01 GB, free: 122 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/6.593, allocations: 474.3 kB / 3.011 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/6.593, allocations: 37.7 kB / 3.011 GB, free: 121.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/6.593, allocations: 316.6 kB / 3.011 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/6.593, allocations: 177.5 kB / 3.011 GB, free: 121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/6.593, allocations: 8 kB / 3.011 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001033/6.593, allocations: 374.7 kB / 3.012 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/6.594, allocations: 173 kB / 3.012 GB, free: 120.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/6.594, allocations: 253.7 kB / 3.012 GB, free: 120.1 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/6.596, allocations: 1.03 MB / 3.013 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/6.596, allocations: 0 / 3.013 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007061/6.597, allocations: 0.5227 MB / 3.014 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/6.597, allocations: 12.03 kB / 3.014 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/6.597, allocations: 0 / 3.014 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/6.597, allocations: 4 kB / 3.014 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/6.598, allocations: 95.84 kB / 3.014 GB, free: 118.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/6.598, allocations: 7.984 kB / 3.014 GB, free: 118.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/6.598, allocations: 35.89 kB / 3.014 GB, free: 118.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/6.598, allocations: 16 kB / 3.014 GB, free: 118.4 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.00035/6.599, allocations: 252.7 kB / 3.014 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/6.599, allocations: 63.25 kB / 3.014 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/6.599, allocations: 82.41 kB / 3.014 GB, free: 118 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/6.599, allocations: 4.062 kB / 3.014 GB, free: 118 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/6.599, allocations: 4 kB / 3.014 GB, free: 118 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006457/6.6, allocations: 0.5144 MB / 3.015 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/6.602, allocations: 1.577 MB / 3.016 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/6.602, allocations: 8 kB / 3.016 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/6.602, allocations: 119.8 kB / 3.016 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/6.602, allocations: 8 kB / 3.016 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/6.602, allocations: 16 kB / 3.016 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/6.602, allocations: 8 kB / 3.016 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/6.602, allocations: 11.88 kB / 3.016 GB, free: 115.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/6.604, allocations: 1.174 MB / 3.017 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/6.604, allocations: 192.3 kB / 3.018 GB, free: 114 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/6.604, allocations: 19.98 kB / 3.018 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/6.605, allocations: 43.78 kB / 3.018 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/6.605, allocations: 43.84 kB / 3.018 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/6.605, allocations: 24 kB / 3.018 GB, free: 113.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003916/6.605, allocations: 382.8 kB / 3.018 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/6.605, allocations: 0 / 3.018 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001172/6.606, allocations: 292 kB / 3.018 GB, free: 113.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * 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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.003442/6.61, allocations: 4.052 MB / 3.022 GB, free: 109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007644/6.611, allocations: 437.2 kB / 3.023 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/6.611, allocations: 0 / 3.023 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/6.611, allocations: 233 kB / 3.023 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/6.613, allocations: 452.3 kB / 3.023 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/6.619, allocations: 4.911 MB / 3.028 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/6.62, allocations: 0.9848 MB / 3.029 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000893/6.621, allocations: 161.9 kB / 3.029 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/6.621, allocations: 247.4 kB / 3.03 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.543e-06/6.621, allocations: 0 / 3.03 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06334/6.684, allocations: 36.24 MB / 3.065 GB, free: 65.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/6.685, allocations: 247.6 kB / 3.065 GB, free: 65.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/10.22, allocations: 2.031 kB / 3.065 GB, free: 65.2 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)