Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009988/0.009988, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7298/0.7298, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001148/0.001148, allocations: 90.11 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4733, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.251/5.724, allocations: 1.893 GB / 2.543 GB, free: 44.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/5.725, allocations: 94.52 kB / 2.543 GB, free: 44.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.77/8.495, allocations: 0.5961 GB / 3.139 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/8.495, allocations: 3.5 kB / 3.139 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.019e-05/8.495, allocations: 29.3 kB / 3.139 GB, free: 128.3 MB / 0.6823 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.00287/8.498, allocations: 1.25 MB / 3.14 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/8.498, allocations: 7.562 kB / 3.14 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/8.498, allocations: 117.6 kB / 3.14 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/8.499, allocations: 212 kB / 3.141 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/8.5, allocations: 0.6659 MB / 3.141 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/8.5, allocations: 64.08 kB / 3.141 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/8.501, allocations: 80.88 kB / 3.141 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/8.502, allocations: 0.9001 MB / 3.142 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/8.502, allocations: 5.344 kB / 3.142 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/8.502, allocations: 34.59 kB / 3.142 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/8.502, allocations: 30.12 kB / 3.142 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/8.503, allocations: 0.5838 MB / 3.143 GB, free: 127.3 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003913/8.507, allocations: 4.569 MB / 3.147 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/8.507, allocations: 440.5 kB / 3.148 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/8.508, allocations: 114.2 kB / 3.148 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/8.508, allocations: 38.34 kB / 3.148 GB, free: 124 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/8.508, allocations: 0 / 3.148 GB, free: 124 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002699/8.51, allocations: 1.554 MB / 3.15 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/8.51, allocations: 117.4 kB / 3.15 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/8.511, allocations: 0.6214 MB / 3.15 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/8.511, allocations: 36.95 kB / 3.15 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/8.511, allocations: 420.8 kB / 3.151 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/8.512, allocations: 171.8 kB / 3.151 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/8.512, allocations: 7.438 kB / 3.151 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/8.512, allocations: 334.1 kB / 3.151 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/8.512, allocations: 178 kB / 3.151 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/8.512, allocations: 423 kB / 3.152 GB, free: 122.3 MB / 0.6823 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.001501/8.514, allocations: 0.6526 MB / 3.152 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/8.514, allocations: 0 / 3.152 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009161/8.515, allocations: 0.6596 MB / 3.153 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/8.515, allocations: 9.062 kB / 3.153 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/8.515, allocations: 7.031 kB / 3.153 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/8.515, allocations: 11.34 kB / 3.153 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/8.515, allocations: 125.5 kB / 3.153 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/8.515, allocations: 15.92 kB / 3.153 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/8.516, allocations: 52.34 kB / 3.153 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/8.516, allocations: 27.16 kB / 3.153 GB, free: 122.1 MB / 0.6823 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 () * Number of clocked 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 0.0004254/8.517, allocations: 283.1 kB / 3.154 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/8.517, allocations: 84.67 kB / 3.154 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/8.517, allocations: 90.55 kB / 3.154 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/8.517, allocations: 8.625 kB / 3.154 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/8.517, allocations: 0 / 3.154 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005931/8.517, allocations: 0.687 MB / 3.154 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/8.52, allocations: 1.599 MB / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/8.52, allocations: 3.594 kB / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/8.52, allocations: 108.8 kB / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/8.52, allocations: 4.625 kB / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/8.52, allocations: 14.3 kB / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.405e-06/8.52, allocations: 10.95 kB / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/8.52, allocations: 14.02 kB / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/8.521, allocations: 1.05 MB / 3.157 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/8.522, allocations: 205.5 kB / 3.157 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/8.522, allocations: 9.375 kB / 3.157 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/8.522, allocations: 48.31 kB / 3.157 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/8.522, allocations: 43.33 kB / 3.157 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/8.522, allocations: 17.97 kB / 3.157 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005954/8.523, allocations: 0.5053 MB / 3.158 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/8.523, allocations: 0 / 3.158 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001635/8.525, allocations: 369.1 kB / 3.158 GB, free: 120.1 MB / 0.6823 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 () * Number of clocked 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.004346/8.529, allocations: 4.187 MB / 3.162 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009205/8.53, allocations: 462.8 kB / 3.163 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/8.53, allocations: 3.969 kB / 3.163 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/8.53, allocations: 208.4 kB / 3.163 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/8.533, allocations: 456.5 kB / 3.163 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/8.541, allocations: 9.001 MB / 3.172 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/8.541, allocations: 1.045 MB / 3.173 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008824/8.542, allocations: 198.3 kB / 3.173 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/8.542, allocations: 301.4 kB / 3.174 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.372e-06/8.542, allocations: 0 / 3.174 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08043/8.623, allocations: 47 MB / 3.22 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/8.623, allocations: 243.7 kB / 3.22 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.571/12.19, allocations: 0 / 3.22 GB, free: 109.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)