Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.00177/0.00177, 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.7706/0.7706, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.498/1.498, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.0008818/0.0008818, allocations: 87.02 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.428e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.959/5.147, allocations: 1.892 GB / 2.533 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/5.148, allocations: 82.89 kB / 2.533 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.727/7.875, allocations: 0.6147 GB / 3.148 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.363e-06/7.875, allocations: 3.281 kB / 3.148 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001153/7.875, allocations: 23.27 kB / 3.148 GB, free: 139.9 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002816/7.878, allocations: 1.035 MB / 3.149 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/7.878, allocations: 10.75 kB / 3.149 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002433/7.878, allocations: 103.4 kB / 3.149 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/7.879, allocations: 185.8 kB / 3.149 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/7.88, allocations: 0.543 MB / 3.15 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/7.88, allocations: 112 kB / 3.15 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/7.88, allocations: 60.05 kB / 3.15 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000969/7.881, allocations: 0.7128 MB / 3.15 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/7.881, allocations: 3.469 kB / 3.15 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/7.882, allocations: 28.31 kB / 3.15 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/7.882, allocations: 29.89 kB / 3.15 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/7.882, allocations: 391.8 kB / 3.151 GB, free: 138.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.003215/7.885, allocations: 4.197 MB / 3.155 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/7.885, allocations: 101.5 kB / 3.155 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.086e-05/7.886, allocations: 76.22 kB / 3.155 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/7.886, allocations: 98.45 kB / 3.155 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/7.886, allocations: 33.25 kB / 3.155 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/7.886, allocations: 0 / 3.155 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005761/7.886, allocations: 206.8 kB / 3.155 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/7.886, allocations: 139.1 kB / 3.156 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/7.887, allocations: 0.7021 MB / 3.156 GB, free: 135 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/7.887, allocations: 28.45 kB / 3.156 GB, free: 135 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/7.888, allocations: 395.2 kB / 3.157 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/7.888, allocations: 48.45 kB / 3.157 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/7.888, allocations: 6.906 kB / 3.157 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/7.888, allocations: 320.4 kB / 3.157 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/7.888, allocations: 77.36 kB / 3.157 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/7.888, allocations: 324.6 kB / 3.157 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/7.888, allocations: 135.7 kB / 3.157 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/7.888, allocations: 3.25 kB / 3.157 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005375/7.889, allocations: 432 kB / 3.158 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/7.889, allocations: 8.938 kB / 3.158 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/7.889, allocations: 4.656 kB / 3.158 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/7.889, allocations: 12.06 kB / 3.158 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/7.889, allocations: 94.73 kB / 3.158 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/7.889, allocations: 21.84 kB / 3.158 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/7.89, allocations: 136.4 kB / 3.158 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/7.89, allocations: 20.91 kB / 3.158 GB, free: 134.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.294e-05/7.89, allocations: 132.7 kB / 3.158 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/7.89, allocations: 74.16 kB / 3.158 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/7.89, allocations: 71.58 kB / 3.158 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/7.89, allocations: 3.469 kB / 3.158 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/7.89, allocations: 2.969 kB / 3.158 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/7.89, allocations: 3.047 kB / 3.158 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/7.892, allocations: 1.122 MB / 3.16 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/7.892, allocations: 3.906 kB / 3.16 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/7.892, allocations: 25.53 kB / 3.16 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/7.892, allocations: 0 / 3.16 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/7.892, allocations: 6 kB / 3.16 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/7.892, allocations: 3.938 kB / 3.16 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/7.892, allocations: 5.438 kB / 3.16 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/7.892, allocations: 368.6 kB / 3.16 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/7.892, allocations: 169.9 kB / 3.16 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/7.892, allocations: 7.125 kB / 3.16 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/7.893, allocations: 26.38 kB / 3.16 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/7.893, allocations: 17.14 kB / 3.16 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/7.893, allocations: 7.156 kB / 3.16 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005591/7.893, allocations: 0.5444 MB / 3.161 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/7.893, allocations: 0 / 3.161 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001167/7.894, allocations: 323.5 kB / 3.161 GB, free: 132.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002873/7.897, allocations: 3.16 MB / 3.164 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003403/7.898, allocations: 197.3 kB / 3.164 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/7.898, allocations: 0 / 3.164 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/7.898, allocations: 48.78 kB / 3.164 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/7.899, allocations: 357.5 kB / 3.165 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/7.901, allocations: 0.9145 MB / 3.166 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/7.901, allocations: 0.9533 MB / 3.166 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000436/7.902, allocations: 136.2 kB / 3.167 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/7.902, allocations: 229.3 kB / 3.167 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/7.902, allocations: 0 / 3.167 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08495/7.987, allocations: 47.82 MB / 3.214 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/7.987, allocations: 208.9 kB / 3.214 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.615/11.6, allocations: 0 / 3.214 GB, free: 105.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)