Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.001659/0.001659, allocations: 172.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8398/0.8398, allocations: 133.5 MB / 141.6 MB, free: 2.891 MB / 106.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 / 395.4 MB, free: 10.85 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.0008978/0.0008978, allocations: 104.9 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.458e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5209/0.521, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.21/5.731, allocations: 1.893 GB / 2.527 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/5.732, allocations: 87.27 kB / 2.527 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.113/7.845, allocations: 0.5891 GB / 3.116 GB, free: 46.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.352e-06/7.845, allocations: 3.938 kB / 3.116 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.575e-05/7.845, allocations: 27.61 kB / 3.116 GB, free: 46.16 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.002579/7.848, allocations: 1.135 MB / 3.117 GB, free: 44.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/7.848, allocations: 8.031 kB / 3.117 GB, free: 44.97 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/7.849, allocations: 214.6 kB / 3.117 GB, free: 44.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/7.85, allocations: 0.6679 MB / 3.118 GB, free: 44.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/7.85, allocations: 20 kB / 3.118 GB, free: 44.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/7.85, allocations: 55.98 kB / 3.118 GB, free: 43.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007918/7.851, allocations: 0.5037 MB / 3.118 GB, free: 43.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/7.852, allocations: 0.7813 MB / 3.119 GB, free: 42.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/7.852, allocations: 4 kB / 3.119 GB, free: 42.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/7.852, allocations: 4 kB / 3.119 GB, free: 42.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/7.852, allocations: 25.31 kB / 3.119 GB, free: 42.57 MB / 0.6823 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.003017/7.855, allocations: 4.389 MB / 3.123 GB, free: 37.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/7.856, allocations: 408 kB / 3.124 GB, free: 37.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/7.856, allocations: 221.3 kB / 3.124 GB, free: 37.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/7.856, allocations: 97.09 kB / 3.124 GB, free: 37.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/7.856, allocations: 42.56 kB / 3.124 GB, free: 37.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/7.856, allocations: 0 / 3.124 GB, free: 37.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.001935/7.858, allocations: 1.308 MB / 3.125 GB, free: 35.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/7.858, allocations: 114.8 kB / 3.126 GB, free: 35.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/7.858, allocations: 438.3 kB / 3.126 GB, free: 35.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/7.859, allocations: 25.7 kB / 3.126 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/7.859, allocations: 427.1 kB / 3.126 GB, free: 34.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-05/7.859, allocations: 165.7 kB / 3.127 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/7.859, allocations: 0 / 3.127 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/7.859, allocations: 374.8 kB / 3.127 GB, free: 34.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/7.859, allocations: 161.5 kB / 3.127 GB, free: 34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/7.859, allocations: 399.3 kB / 3.127 GB, free: 33.51 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.001369/7.861, allocations: 0.6315 MB / 3.128 GB, free: 32.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/7.861, allocations: 4 kB / 3.128 GB, free: 32.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006943/7.862, allocations: 0.5783 MB / 3.129 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/7.862, allocations: 12.03 kB / 3.129 GB, free: 32.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/7.862, allocations: 11.98 kB / 3.129 GB, free: 32.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/7.862, allocations: 8 kB / 3.129 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/7.862, allocations: 127.8 kB / 3.129 GB, free: 32.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/7.862, allocations: 8 kB / 3.129 GB, free: 32.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/7.863, allocations: 43.83 kB / 3.129 GB, free: 32.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/7.863, allocations: 27.98 kB / 3.129 GB, free: 32.04 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 () * 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.0001028/7.863, allocations: 128.7 kB / 3.129 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005079/7.863, allocations: 413.7 kB / 3.129 GB, free: 31.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/7.863, allocations: 67.16 kB / 3.129 GB, free: 31.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/7.864, allocations: 74.28 kB / 3.13 GB, free: 31.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/7.864, allocations: 8.062 kB / 3.13 GB, free: 31.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/7.864, allocations: 3.953 kB / 3.13 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004417/7.864, allocations: 0.6601 MB / 3.13 GB, free: 30.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/7.866, allocations: 1.463 MB / 3.132 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/7.866, allocations: 4.469 kB / 3.132 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/7.866, allocations: 103.9 kB / 3.132 GB, free: 28.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/7.866, allocations: 4 kB / 3.132 GB, free: 28.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/7.866, allocations: 11.98 kB / 3.132 GB, free: 28.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/7.866, allocations: 4 kB / 3.132 GB, free: 28.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/7.866, allocations: 15.94 kB / 3.132 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/7.867, allocations: 0.9911 MB / 3.133 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/7.867, allocations: 180.4 kB / 3.133 GB, free: 27.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/7.867, allocations: 19.94 kB / 3.133 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/7.868, allocations: 27.88 kB / 3.133 GB, free: 27.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/7.868, allocations: 35.91 kB / 3.133 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/7.868, allocations: 27.94 kB / 3.133 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002835/7.868, allocations: 326.9 kB / 3.133 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/7.868, allocations: 0 / 3.133 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009905/7.869, allocations: 292 kB / 3.134 GB, free: 26.85 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 () * 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.003529/7.873, allocations: 4.332 MB / 3.138 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006164/7.873, allocations: 428.8 kB / 3.138 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/7.873, allocations: 0.5 kB / 3.138 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/7.874, allocations: 191.7 kB / 3.138 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/7.875, allocations: 296.7 kB / 3.139 GB, free: 21.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/7.878, allocations: 1.44 MB / 3.14 GB, free: 19.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/7.878, allocations: 1.047 MB / 3.141 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005675/7.879, allocations: 165.2 kB / 3.141 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/7.879, allocations: 286.7 kB / 3.142 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/7.879, allocations: 0 / 3.142 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4555/8.335, allocations: 29.19 MB / 3.17 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/8.335, allocations: 191.8 kB / 3.17 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/11.32, allocations: 2.75 kB / 3.17 GB, free: 124.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)