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.7066/0.7066, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009782/0.0009782, allocations: 187.6 kB / 187.3 MB, free: 11.88 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.232/1.232, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0007624/0.0007624, allocations: 101.8 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 276.5 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.799e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.552/3.88, allocations: 1.877 GB / 2.641 GB, free: 130.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/3.88, allocations: 92.05 kB / 2.642 GB, free: 130.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9255/4.805, allocations: 359.7 MB / 2.993 GB, free: 53.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.92e-07/4.805, allocations: 0 / 2.993 GB, free: 53.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.577e-05/4.806, allocations: 20 kB / 2.993 GB, free: 53.37 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001217/4.807, allocations: 0.9659 MB / 2.994 GB, free: 52.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/4.807, allocations: 12.03 kB / 2.994 GB, free: 52.35 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/4.807, allocations: 102.5 kB / 2.994 GB, free: 52.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/4.808, allocations: 266.7 kB / 2.994 GB, free: 51.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/4.809, allocations: 0.6837 MB / 2.995 GB, free: 51.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/4.809, allocations: 41.31 kB / 2.995 GB, free: 51.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/4.809, allocations: 71.84 kB / 2.995 GB, free: 51.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/4.81, allocations: 0.5493 MB / 2.996 GB, free: 50.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/4.81, allocations: 0 / 2.996 GB, free: 50.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/4.81, allocations: 24 kB / 2.996 GB, free: 50.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/4.81, allocations: 21.31 kB / 2.996 GB, free: 50.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/4.811, allocations: 477 kB / 2.996 GB, free: 50.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/4.813, allocations: 2.377 MB / 2.998 GB, free: 47.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/4.814, allocations: 407.2 kB / 2.999 GB, free: 47.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/4.814, allocations: 204.8 kB / 2.999 GB, free: 46.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/4.814, allocations: 105.1 kB / 2.999 GB, free: 46.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/4.814, allocations: 42.56 kB / 2.999 GB, free: 46.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/4.814, allocations: 0 / 2.999 GB, free: 46.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001831/4.816, allocations: 1.255 MB / 3 GB, free: 45.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/4.816, allocations: 59.84 kB / 3 GB, free: 45.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/4.816, allocations: 472.9 kB / 3.001 GB, free: 44.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/4.816, allocations: 37.7 kB / 3.001 GB, free: 44.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/4.816, allocations: 316.7 kB / 3.001 GB, free: 44.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.096e-05/4.817, allocations: 169.5 kB / 3.001 GB, free: 44.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/4.817, allocations: 12 kB / 3.001 GB, free: 44.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/4.817, allocations: 374.8 kB / 3.002 GB, free: 43.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/4.817, allocations: 161.1 kB / 3.002 GB, free: 43.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/4.817, allocations: 261.7 kB / 3.002 GB, free: 43.54 MB / 0.698 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.002058/4.819, allocations: 1.012 MB / 3.003 GB, free: 42.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/4.819, allocations: 0 / 3.003 GB, free: 42.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000578/4.82, allocations: 0.5109 MB / 3.004 GB, free: 41.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/4.82, allocations: 5.094 kB / 3.004 GB, free: 41.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/4.82, allocations: 7.938 kB / 3.004 GB, free: 41.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/4.82, allocations: 4.156 kB / 3.004 GB, free: 41.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/4.82, allocations: 107.8 kB / 3.004 GB, free: 41.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/4.82, allocations: 4 kB / 3.004 GB, free: 41.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/4.821, allocations: 27.89 kB / 3.004 GB, free: 41.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/4.821, allocations: 20 kB / 3.004 GB, free: 41.8 MB / 0.698 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 () * 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 9.253e-05/4.821, allocations: 136.8 kB / 3.004 GB, free: 41.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/4.821, allocations: 67.25 kB / 3.004 GB, free: 41.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/4.821, allocations: 78.19 kB / 3.004 GB, free: 41.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/4.821, allocations: 7.938 kB / 3.004 GB, free: 41.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/4.821, allocations: 3.953 kB / 3.004 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004677/4.822, allocations: 0.4989 MB / 3.004 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/4.823, allocations: 1.566 MB / 3.006 GB, free: 39.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/4.823, allocations: 4.625 kB / 3.006 GB, free: 39.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/4.824, allocations: 123.8 kB / 3.006 GB, free: 39.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/4.824, allocations: 8 kB / 3.006 GB, free: 39.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/4.824, allocations: 16 kB / 3.006 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/4.824, allocations: 8 kB / 3.006 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/4.824, allocations: 11.94 kB / 3.006 GB, free: 39.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/4.825, allocations: 1.15 MB / 3.007 GB, free: 37.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/4.825, allocations: 204.3 kB / 3.007 GB, free: 37.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/4.825, allocations: 16 kB / 3.008 GB, free: 37.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/4.826, allocations: 35.83 kB / 3.008 GB, free: 37.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/4.826, allocations: 51.84 kB / 3.008 GB, free: 37.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/4.826, allocations: 28.05 kB / 3.008 GB, free: 37.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003186/4.826, allocations: 377.5 kB / 3.008 GB, free: 37.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/4.826, allocations: 3.938 kB / 3.008 GB, free: 37.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007584/4.827, allocations: 288 kB / 3.008 GB, free: 36.76 MB / 0.698 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 () * 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.002108/4.829, allocations: 4.033 MB / 3.012 GB, free: 32.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005274/4.829, allocations: 425.5 kB / 3.013 GB, free: 32.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/4.829, allocations: 0 / 3.013 GB, free: 32.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/4.83, allocations: 223.6 kB / 3.013 GB, free: 31.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/4.831, allocations: 469.2 kB / 3.013 GB, free: 31.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/4.833, allocations: 1.422 MB / 3.015 GB, free: 29.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/4.834, allocations: 0.9848 MB / 3.016 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000532/4.834, allocations: 157.9 kB / 3.016 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/4.834, allocations: 251.3 kB / 3.016 GB, free: 28.55 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/4.834, allocations: 0 / 3.016 GB, free: 28.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/5.192, allocations: 39.01 MB / 3.054 GB, free: 166.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/5.193, allocations: 226 kB / 3.054 GB, free: 166.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/8.059, allocations: 1.875 kB / 3.054 GB, free: 166.3 MB / 0.698 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)