Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.6713/0.6713, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001123/0.001123, allocations: 190 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.198/1.198, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.000854/0.000854, allocations: 98.41 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001693/0.001693, allocations: 279.1 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.765e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3275, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.432/3.76, allocations: 1.891 GB / 2.655 GB, free: 116.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/3.76, allocations: 86.52 kB / 2.655 GB, free: 116.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.673/5.433, allocations: 0.5953 GB / 3.25 GB, free: 58.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/5.433, allocations: 0 / 3.25 GB, free: 58.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.298e-05/5.433, allocations: 24 kB / 3.25 GB, free: 58.22 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001604/5.435, allocations: 1.131 MB / 3.252 GB, free: 57.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/5.435, allocations: 15.97 kB / 3.252 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/5.435, allocations: 122.5 kB / 3.252 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/5.436, allocations: 214.6 kB / 3.252 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/5.437, allocations: 0.6557 MB / 3.253 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/5.437, allocations: 58 kB / 3.253 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/5.437, allocations: 79.95 kB / 3.253 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/5.438, allocations: 0.8899 MB / 3.254 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/5.438, allocations: 3.938 kB / 3.254 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/5.438, allocations: 39.98 kB / 3.254 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/5.438, allocations: 25.31 kB / 3.254 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/5.439, allocations: 0.575 MB / 3.254 GB, free: 54.24 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.002893/5.442, allocations: 4.562 MB / 3.259 GB, free: 49.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/5.443, allocations: 432 kB / 3.259 GB, free: 48.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/5.443, allocations: 231.9 kB / 3.259 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/5.443, allocations: 101.1 kB / 3.259 GB, free: 48.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/5.443, allocations: 46.5 kB / 3.259 GB, free: 48.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/5.443, allocations: 0 / 3.259 GB, free: 48.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001913/5.445, allocations: 1.386 MB / 3.261 GB, free: 47.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/5.445, allocations: 122.8 kB / 3.261 GB, free: 46.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/5.446, allocations: 0.6093 MB / 3.261 GB, free: 46.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/5.446, allocations: 41.09 kB / 3.262 GB, free: 46.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/5.446, allocations: 423.8 kB / 3.262 GB, free: 45.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/5.446, allocations: 165.6 kB / 3.262 GB, free: 45.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/5.446, allocations: 16 kB / 3.262 GB, free: 45.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/5.446, allocations: 382.8 kB / 3.262 GB, free: 45.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/5.446, allocations: 173.5 kB / 3.263 GB, free: 45.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/5.447, allocations: 416.9 kB / 3.263 GB, free: 44.61 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/5.448, allocations: 0.6454 MB / 3.264 GB, free: 43.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/5.448, allocations: 4 kB / 3.264 GB, free: 43.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007115/5.449, allocations: 0.6487 MB / 3.264 GB, free: 43.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/5.449, allocations: 4 kB / 3.264 GB, free: 43.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/5.449, allocations: 12.03 kB / 3.264 GB, free: 43.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/5.449, allocations: 12 kB / 3.264 GB, free: 43.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/5.449, allocations: 127.8 kB / 3.264 GB, free: 43.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/5.449, allocations: 15.94 kB / 3.264 GB, free: 43.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/5.45, allocations: 55.77 kB / 3.264 GB, free: 43.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/5.45, allocations: 24 kB / 3.265 GB, free: 43.04 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.592e-05/5.45, allocations: 156 kB / 3.265 GB, free: 42.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/5.45, allocations: 79.06 kB / 3.265 GB, free: 42.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/5.45, allocations: 87.38 kB / 3.265 GB, free: 42.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/5.45, allocations: 7.938 kB / 3.265 GB, free: 42.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/5.45, allocations: 0 / 3.265 GB, free: 42.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000465/5.451, allocations: 0.6843 MB / 3.265 GB, free: 41.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/5.452, allocations: 1.599 MB / 3.267 GB, free: 40.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/5.452, allocations: 4 kB / 3.267 GB, free: 40.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/5.453, allocations: 103.8 kB / 3.267 GB, free: 40.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/5.453, allocations: 8.469 kB / 3.267 GB, free: 40.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/5.453, allocations: 12 kB / 3.267 GB, free: 40.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/5.453, allocations: 8.438 kB / 3.267 GB, free: 40.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/5.453, allocations: 11.94 kB / 3.267 GB, free: 40.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/5.454, allocations: 1.05 MB / 3.268 GB, free: 38.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/5.454, allocations: 200.1 kB / 3.268 GB, free: 38.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/5.454, allocations: 23.92 kB / 3.268 GB, free: 38.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/5.454, allocations: 47.86 kB / 3.268 GB, free: 38.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/5.454, allocations: 32 kB / 3.269 GB, free: 38.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/5.454, allocations: 27.97 kB / 3.269 GB, free: 38.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004199/5.455, allocations: 0.4913 MB / 3.269 GB, free: 38.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/5.455, allocations: 0 / 3.269 GB, free: 38.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009687/5.456, allocations: 360 kB / 3.269 GB, free: 37.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.002758/5.459, allocations: 4.191 MB / 3.273 GB, free: 33.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005814/5.459, allocations: 459.4 kB / 3.274 GB, free: 32.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/5.459, allocations: 1.562 kB / 3.274 GB, free: 32.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/5.459, allocations: 204.3 kB / 3.274 GB, free: 32.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/5.461, allocations: 444.7 kB / 3.275 GB, free: 32.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/5.463, allocations: 1.515 MB / 3.276 GB, free: 30.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/5.464, allocations: 1.048 MB / 3.277 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006118/5.464, allocations: 194.9 kB / 3.277 GB, free: 29.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/5.465, allocations: 295.3 kB / 3.277 GB, free: 29.09 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/5.465, allocations: 4 kB / 3.277 GB, free: 29.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.392/5.857, allocations: 51.22 MB / 3.328 GB, free: 116.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/5.857, allocations: 231.1 kB / 3.328 GB, free: 116.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.367/9.224, allocations: 0 / 3.328 GB, free: 116.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)