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.001744/0.001744, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7427/0.7427, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.565/1.565, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009983, allocations: 82.05 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.705e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1763, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.987/5.164, allocations: 1.893 GB / 2.534 GB, free: 36.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/5.164, allocations: 91.94 kB / 2.534 GB, free: 36.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.77/7.934, allocations: 0.5956 GB / 3.129 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/7.934, allocations: 2.875 kB / 3.129 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001078/7.935, allocations: 28.36 kB / 3.13 GB, free: 127.7 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.003165/7.938, allocations: 1.135 MB / 3.131 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/7.938, allocations: 9.344 kB / 3.131 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000327/7.938, allocations: 120.1 kB / 3.131 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/7.94, allocations: 215.4 kB / 3.131 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/7.942, allocations: 0.663 MB / 3.132 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/7.942, allocations: 58.41 kB / 3.132 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/7.942, allocations: 81.12 kB / 3.132 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/7.943, allocations: 0.8876 MB / 3.133 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/7.943, allocations: 10.62 kB / 3.133 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/7.943, allocations: 28.62 kB / 3.133 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/7.944, allocations: 34.41 kB / 3.133 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/7.945, allocations: 0.5764 MB / 3.133 GB, free: 126.7 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.004429/7.949, allocations: 4.568 MB / 3.138 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/7.95, allocations: 435.8 kB / 3.138 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/7.95, allocations: 224.9 kB / 3.138 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/7.95, allocations: 102.4 kB / 3.138 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/7.95, allocations: 40.56 kB / 3.138 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 3.236e-06/7.95, allocations: 0 / 3.138 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002789/7.953, allocations: 1.405 MB / 3.14 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/7.953, allocations: 110 kB / 3.14 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/7.954, allocations: 0.6157 MB / 3.141 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/7.954, allocations: 39.73 kB / 3.141 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/7.954, allocations: 416 kB / 3.141 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/7.954, allocations: 161.4 kB / 3.141 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/7.954, allocations: 15.66 kB / 3.141 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/7.954, allocations: 332.8 kB / 3.141 GB, free: 122 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/7.955, allocations: 176.3 kB / 3.142 GB, free: 122 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/7.955, allocations: 423.2 kB / 3.142 GB, free: 121.7 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.001563/7.957, allocations: 0.6579 MB / 3.143 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/7.957, allocations: 0 / 3.143 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009748/7.958, allocations: 0.6502 MB / 3.143 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/7.958, allocations: 8.219 kB / 3.143 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/7.958, allocations: 7 kB / 3.143 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/7.958, allocations: 15.03 kB / 3.143 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/7.958, allocations: 126.8 kB / 3.143 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/7.958, allocations: 12.03 kB / 3.143 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/7.959, allocations: 51.28 kB / 3.144 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/7.959, allocations: 28.75 kB / 3.144 GB, free: 121.5 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.0001644/7.959, allocations: 157.5 kB / 3.144 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/7.959, allocations: 85.83 kB / 3.144 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/7.96, allocations: 87.94 kB / 3.144 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/7.96, allocations: 3.031 kB / 3.144 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/7.96, allocations: 3.844 kB / 3.144 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006142/7.96, allocations: 0.6753 MB / 3.145 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/7.963, allocations: 1.603 MB / 3.146 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/7.963, allocations: 6.812 kB / 3.146 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/7.963, allocations: 99.5 kB / 3.146 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/7.963, allocations: 7.5 kB / 3.146 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/7.963, allocations: 17.91 kB / 3.146 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/7.963, allocations: 18.05 kB / 3.146 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/7.963, allocations: 5.688 kB / 3.146 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/7.964, allocations: 1.046 MB / 3.147 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/7.965, allocations: 206.3 kB / 3.147 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/7.965, allocations: 16.53 kB / 3.147 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/7.965, allocations: 41.58 kB / 3.148 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/7.965, allocations: 37.83 kB / 3.148 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/7.965, allocations: 22.66 kB / 3.148 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005031/7.966, allocations: 0.4955 MB / 3.148 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/7.966, allocations: 0 / 3.148 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001267/7.967, allocations: 364.4 kB / 3.148 GB, free: 119.5 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.003614/7.971, allocations: 4.177 MB / 3.152 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007655/7.971, allocations: 458.1 kB / 3.153 GB, free: 117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/7.971, allocations: 0 / 3.153 GB, free: 117 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/7.972, allocations: 207.4 kB / 3.153 GB, free: 117 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/7.974, allocations: 460.5 kB / 3.154 GB, free: 117 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/7.976, allocations: 1.528 MB / 3.155 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/7.977, allocations: 1.042 MB / 3.156 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006578/7.977, allocations: 196 kB / 3.156 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/7.978, allocations: 301.4 kB / 3.157 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.22e-07/7.978, allocations: 0 / 3.157 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08485/8.063, allocations: 51.24 MB / 3.207 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/8.063, allocations: 226.5 kB / 3.207 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.694/11.76, allocations: 9.656 kB / 3.207 GB, free: 113.9 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)