Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.8696/0.8696, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.0011/0.0011, allocations: 188.9 kB / 182.2 MB, free: 9.438 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.554/1.554, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001007/0.001006, allocations: 97.77 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001846/0.001847, allocations: 268.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.516e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4866, allocations: 82.78 MB / 0.7575 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.559/5.045, allocations: 1.908 GB / 2.666 GB, free: 149.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/5.046, allocations: 94.89 kB / 2.666 GB, free: 149.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.864/6.909, allocations: 470.1 MB / 3.125 GB, free: 136.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.213e-06/6.909, allocations: 0 / 3.125 GB, free: 136.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.679e-05/6.91, allocations: 29.12 kB / 3.125 GB, free: 136.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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003868/6.913, allocations: 1.486 MB / 3.126 GB, free: 135.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/6.913, allocations: 10.44 kB / 3.126 GB, free: 135.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/6.915, allocations: 288.2 kB / 3.127 GB, free: 135.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/6.917, allocations: 0.8253 MB / 3.128 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/6.917, allocations: 25 kB / 3.128 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/6.917, allocations: 39.09 kB / 3.128 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/6.919, allocations: 0.8499 MB / 3.128 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/6.92, allocations: 0.8743 MB / 3.129 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/6.92, allocations: 0 / 3.129 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/6.92, allocations: 2.75 kB / 3.129 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-05/6.92, allocations: 71.17 kB / 3.129 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00535/6.926, allocations: 3.413 MB / 3.133 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/6.926, allocations: 0.8601 MB / 3.134 GB, free: 133.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/6.927, allocations: 343.5 kB / 3.134 GB, free: 133.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/6.927, allocations: 200.2 kB / 3.134 GB, free: 133.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/6.927, allocations: 41.44 kB / 3.134 GB, free: 133.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/6.927, allocations: 3.375 kB / 3.134 GB, free: 133.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.001416/6.929, allocations: 0.7085 MB / 3.135 GB, free: 133.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/6.929, allocations: 111.2 kB / 3.135 GB, free: 133.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/6.929, allocations: 0.5477 MB / 3.135 GB, free: 133.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/6.929, allocations: 25.7 kB / 3.135 GB, free: 133.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/6.929, allocations: 419 kB / 3.136 GB, free: 133.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/6.93, allocations: 204.8 kB / 3.136 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/6.93, allocations: 2.781 kB / 3.136 GB, free: 132.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001312/6.93, allocations: 396.2 kB / 3.136 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/6.93, allocations: 286.9 kB / 3.137 GB, free: 132.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/6.931, allocations: 429.3 kB / 3.137 GB, free: 132.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/6.932, allocations: 0.6189 MB / 3.138 GB, free: 132.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/6.932, allocations: 0 / 3.138 GB, free: 132.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001918/6.934, allocations: 1.077 MB / 3.139 GB, free: 132.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000259/6.934, allocations: 0.8811 MB / 3.14 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/6.934, allocations: 0 / 3.14 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/6.934, allocations: 10.12 kB / 3.14 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/6.935, allocations: 146.5 kB / 3.14 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/6.935, allocations: 7.625 kB / 3.14 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/6.936, allocations: 77.48 kB / 3.14 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/6.936, allocations: 35.89 kB / 3.14 GB, free: 131.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/6.936, allocations: 5 kB / 3.14 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/6.938, allocations: 0.88 MB / 3.141 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/6.938, allocations: 7.094 kB / 3.141 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/6.938, allocations: 10.22 kB / 3.141 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/6.938, allocations: 144.9 kB / 3.141 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/6.938, allocations: 13.05 kB / 3.141 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/6.939, allocations: 67.47 kB / 3.141 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/6.939, allocations: 25.56 kB / 3.141 GB, free: 131.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001669/6.939, allocations: 122.7 kB / 3.141 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001026/6.94, allocations: 0.6528 MB / 3.142 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/6.94, allocations: 80 kB / 3.142 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/6.942, allocations: 0.7306 MB / 3.143 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/6.942, allocations: 8.5 kB / 3.143 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/6.942, allocations: 0 / 3.143 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008571/6.942, allocations: 0.688 MB / 3.143 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/6.945, allocations: 1.989 MB / 3.145 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/6.945, allocations: 5.438 kB / 3.145 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/6.946, allocations: 142.5 kB / 3.145 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/6.946, allocations: 3.5 kB / 3.145 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/6.946, allocations: 7.25 kB / 3.145 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/6.946, allocations: 6.688 kB / 3.145 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/6.946, allocations: 10.78 kB / 3.145 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/6.947, allocations: 1.431 MB / 3.147 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/6.948, allocations: 248.1 kB / 3.147 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/6.948, allocations: 10.05 kB / 3.147 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/6.948, allocations: 43.45 kB / 3.147 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/6.949, allocations: 45.53 kB / 3.147 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/6.949, allocations: 28.69 kB / 3.147 GB, free: 129.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004743/6.949, allocations: 429.5 kB / 3.147 GB, free: 129.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.949, allocations: 3.281 kB / 3.147 GB, free: 129.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002499/6.952, allocations: 0.8624 MB / 3.148 GB, free: 129.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.005049/6.957, allocations: 4.781 MB / 3.153 GB, free: 127.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001575/6.958, allocations: 1.05 MB / 3.154 GB, free: 127.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/6.958, allocations: 3.781 kB / 3.154 GB, free: 127.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/6.959, allocations: 324.6 kB / 3.154 GB, free: 127.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/6.961, allocations: 441.9 kB / 3.155 GB, free: 127.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/6.964, allocations: 1.809 MB / 3.157 GB, free: 126.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/6.964, allocations: 1.097 MB / 3.158 GB, free: 125.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001325/6.966, allocations: 420.2 kB / 3.158 GB, free: 125.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/6.966, allocations: 326.3 kB / 3.158 GB, free: 125.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/6.966, allocations: 7.094 kB / 3.158 GB, free: 125.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06853/7.035, allocations: 37.63 MB / 3.195 GB, free: 124.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/7.035, allocations: 199.5 kB / 3.195 GB, free: 124.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/10.45, allocations: 0 / 3.195 GB, free: 124.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)