Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.8859/0.8859, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001006/0.001006, allocations: 187.4 kB / 182.2 MB, free: 9.43 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.55/1.55, 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.0009538/0.0009536, allocations: 94.56 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 276.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.038e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.506, allocations: 82.78 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.151/5.657, allocations: 1.879 GB / 2.637 GB, free: 179.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/5.657, allocations: 83.95 kB / 2.637 GB, free: 179.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.075/7.732, allocations: 0.5651 GB / 3.202 GB, free: 137.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.162e-06/7.732, allocations: 0 / 3.202 GB, free: 137.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.723e-05/7.732, allocations: 29.38 kB / 3.202 GB, free: 137.1 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002378/7.735, allocations: 1.249 MB / 3.203 GB, free: 136.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/7.735, allocations: 9.906 kB / 3.203 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/7.737, allocations: 320.1 kB / 3.204 GB, free: 136.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/7.738, allocations: 0.7874 MB / 3.204 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/7.738, allocations: 106.5 kB / 3.204 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/7.738, allocations: 49.41 kB / 3.205 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001083/7.739, allocations: 0.6808 MB / 3.205 GB, free: 135.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/7.741, allocations: 0.8629 MB / 3.206 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/7.741, allocations: 3.938 kB / 3.206 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-05/7.741, allocations: 6.062 kB / 3.206 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/7.741, allocations: 36.42 kB / 3.206 GB, free: 134.8 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.004413/7.745, allocations: 3.8 MB / 3.21 GB, free: 131.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/7.746, allocations: 359.1 kB / 3.21 GB, free: 131.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/7.746, allocations: 197.9 kB / 3.21 GB, free: 131.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/7.746, allocations: 101.9 kB / 3.21 GB, free: 131.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/7.746, allocations: 45.89 kB / 3.21 GB, free: 131.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/7.746, allocations: 0 / 3.21 GB, free: 131.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.001944/7.748, allocations: 1.087 MB / 3.212 GB, free: 130.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/7.748, allocations: 57.94 kB / 3.212 GB, free: 130.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/7.749, allocations: 0.5528 MB / 3.212 GB, free: 130.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/7.749, allocations: 29.58 kB / 3.212 GB, free: 130.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/7.749, allocations: 0.4928 MB / 3.213 GB, free: 129.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/7.749, allocations: 134 kB / 3.213 GB, free: 129.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/7.749, allocations: 0 / 3.213 GB, free: 129.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/7.749, allocations: 381.3 kB / 3.213 GB, free: 129.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/7.75, allocations: 195.2 kB / 3.213 GB, free: 128.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/7.75, allocations: 360.7 kB / 3.214 GB, free: 128.5 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/7.751, allocations: 0.6862 MB / 3.214 GB, free: 127.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/7.751, allocations: 4 kB / 3.214 GB, free: 127.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008375/7.752, allocations: 0.6195 MB / 3.215 GB, free: 127.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/7.752, allocations: 8 kB / 3.215 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/7.752, allocations: 4 kB / 3.215 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/7.752, allocations: 15.81 kB / 3.215 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/7.753, allocations: 139.8 kB / 3.215 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/7.753, allocations: 8 kB / 3.215 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/7.754, allocations: 75.28 kB / 3.215 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/7.754, allocations: 24 kB / 3.215 GB, free: 127 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. 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 (71): * Single equations (assignments): 71 * 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.0001353/7.754, allocations: 137.7 kB / 3.215 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000483/7.755, allocations: 391.9 kB / 3.216 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/7.755, allocations: 71.16 kB / 3.216 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/7.755, allocations: 79.16 kB / 3.216 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/7.755, allocations: 4 kB / 3.216 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/7.755, allocations: 0 / 3.216 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004353/7.755, allocations: 0.6445 MB / 3.216 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/7.757, allocations: 1.434 MB / 3.218 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/7.757, allocations: 4 kB / 3.218 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/7.758, allocations: 83.91 kB / 3.218 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/7.758, allocations: 6.062 kB / 3.218 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/7.758, allocations: 11.98 kB / 3.218 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/7.758, allocations: 7.938 kB / 3.218 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/7.758, allocations: 8 kB / 3.218 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/7.758, allocations: 0.9802 MB / 3.219 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/7.759, allocations: 212.2 kB / 3.219 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/7.759, allocations: 4 kB / 3.219 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/7.759, allocations: 50.83 kB / 3.219 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/7.76, allocations: 39.33 kB / 3.219 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/7.76, allocations: 28.05 kB / 3.219 GB, free: 122.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004383/7.76, allocations: 435.1 kB / 3.22 GB, free: 122 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.76, allocations: 0 / 3.22 GB, free: 122 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001101/7.761, allocations: 327.9 kB / 3.22 GB, free: 121.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002615/7.764, allocations: 4.006 MB / 3.224 GB, free: 117.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006308/7.764, allocations: 424.8 kB / 3.224 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/7.764, allocations: 6.094 kB / 3.224 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/7.765, allocations: 167.8 kB / 3.224 GB, free: 117.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/7.766, allocations: 412 kB / 3.225 GB, free: 116.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/7.769, allocations: 1.586 MB / 3.226 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/7.77, allocations: 1.117 MB / 3.228 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000713/7.77, allocations: 193.2 kB / 3.228 GB, free: 114 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/7.771, allocations: 331.3 kB / 3.228 GB, free: 113.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/7.771, allocations: 4 kB / 3.228 GB, free: 113.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/7.822, allocations: 30.06 MB / 3.257 GB, free: 84.06 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/7.822, allocations: 210.2 kB / 3.258 GB, free: 83.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/10.85, allocations: 0 / 3.258 GB, free: 83.79 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)