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.01887/0.01887, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.281/1.281, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.588/2.588, allocations: 223.2 MB / 406.8 MB, free: 3.125 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.001526/0.001525, allocations: 99.44 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006402/0.0006403, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9498/0.9505, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.044/9.995, allocations: 1.893 GB / 2.543 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/9.995, allocations: 88.48 kB / 2.543 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.925/13.92, allocations: 0.5961 GB / 3.139 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-05/13.92, allocations: 0 / 3.139 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000254/13.92, allocations: 24 kB / 3.139 GB, free: 0.5547 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 1.102/15.02, allocations: 1.241 MB / 3.14 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001129/15.02, allocations: 9.922 kB / 3.14 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000865/15.02, allocations: 125.2 kB / 3.14 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/15.03, allocations: 207.9 kB / 3.141 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/15.03, allocations: 0.6711 MB / 3.141 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/15.03, allocations: 61 kB / 3.141 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/15.03, allocations: 76.84 kB / 3.141 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/15.03, allocations: 0.9042 MB / 3.142 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-05/15.03, allocations: 5.828 kB / 3.142 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/15.03, allocations: 30.91 kB / 3.142 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/15.03, allocations: 27.2 kB / 3.142 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/15.04, allocations: 0.5912 MB / 3.143 GB, free: 122.9 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.01135/15.05, allocations: 4.571 MB / 3.147 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/15.05, allocations: 438.3 kB / 3.148 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/15.05, allocations: 103 kB / 3.148 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/15.05, allocations: 47.41 kB / 3.148 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 7.985e-06/15.05, allocations: 0 / 3.148 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.006874/15.06, allocations: 1.55 MB / 3.15 GB, free: 119 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/15.06, allocations: 113.2 kB / 3.15 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/15.06, allocations: 0.6248 MB / 3.15 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.415e-05/15.06, allocations: 36.83 kB / 3.15 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/15.06, allocations: 416.9 kB / 3.151 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/15.06, allocations: 163.6 kB / 3.151 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/15.06, allocations: 13.12 kB / 3.151 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001987/15.06, allocations: 333.7 kB / 3.151 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/15.06, allocations: 180.7 kB / 3.151 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/15.06, allocations: 419.6 kB / 3.152 GB, free: 117.9 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.003032/15.07, allocations: 0.6526 MB / 3.152 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/15.07, allocations: 1.656 kB / 3.152 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002593/15.07, allocations: 0.6607 MB / 3.153 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/15.07, allocations: 6.531 kB / 3.153 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/15.07, allocations: 14.11 kB / 3.153 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.012e-05/15.07, allocations: 11.84 kB / 3.153 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/15.07, allocations: 125.8 kB / 3.153 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/15.07, allocations: 11.98 kB / 3.153 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/15.07, allocations: 56.33 kB / 3.153 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/15.07, allocations: 27.09 kB / 3.153 GB, free: 117.7 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.0009584/15.07, allocations: 277.1 kB / 3.154 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/15.07, allocations: 77.53 kB / 3.154 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/15.07, allocations: 91.77 kB / 3.154 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/15.07, allocations: 11.61 kB / 3.154 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/15.07, allocations: 2.906 kB / 3.154 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/15.08, allocations: 0.6829 MB / 3.154 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/15.08, allocations: 1.61 MB / 3.156 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/15.08, allocations: 6.922 kB / 3.156 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/15.08, allocations: 97.67 kB / 3.156 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.488e-05/15.08, allocations: 7.781 kB / 3.156 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.177e-05/15.08, allocations: 12.12 kB / 3.156 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/15.08, allocations: 16.98 kB / 3.156 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/15.08, allocations: 3.938 kB / 3.156 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/15.08, allocations: 1.057 MB / 3.157 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009154/15.09, allocations: 201.1 kB / 3.157 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/15.09, allocations: 16.31 kB / 3.157 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/15.09, allocations: 51.53 kB / 3.157 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/15.09, allocations: 45.09 kB / 3.157 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/15.09, allocations: 18.03 kB / 3.157 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001355/15.09, allocations: 0.5043 MB / 3.158 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.62e-07/15.09, allocations: 0 / 3.158 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003128/15.09, allocations: 365.5 kB / 3.158 GB, free: 115.7 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.009348/15.1, allocations: 4.19 MB / 3.162 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002265/15.1, allocations: 467 kB / 3.163 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/15.1, allocations: 1.125 kB / 3.163 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006917/15.1, allocations: 206.6 kB / 3.163 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004563/15.11, allocations: 455.5 kB / 3.163 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/15.13, allocations: 9.003 MB / 3.172 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/15.13, allocations: 1.042 MB / 3.173 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001875/15.13, allocations: 198.5 kB / 3.173 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007561/15.13, allocations: 298.9 kB / 3.174 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.856e-06/15.13, allocations: 0 / 3.174 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1687/15.3, allocations: 47.02 MB / 3.22 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003908/15.3, allocations: 242.9 kB / 3.22 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.423/21.72, allocations: 0 / 3.22 GB, free: 105.5 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)