Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001973/0.001973, allocations: 175.2 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.7576/0.7576, 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.664/1.664, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0009796/0.0009797, allocations: 90.02 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.864e-05/4.866e-05, allocations: 4.594 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 82.31 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.781/4.987, allocations: 1.883 GB / 2.523 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/4.987, allocations: 90.12 kB / 2.523 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.5/7.488, allocations: 0.5718 GB / 3.095 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.122e-06/7.488, allocations: 0 / 3.095 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001217/7.488, allocations: 30.72 kB / 3.095 GB, free: 141.8 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003081/7.491, allocations: 1.248 MB / 3.096 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/7.491, allocations: 14.81 kB / 3.096 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003397/7.491, allocations: 141 kB / 3.097 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/7.494, allocations: 317.8 kB / 3.097 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/7.495, allocations: 0.8007 MB / 3.098 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/7.496, allocations: 134.5 kB / 3.098 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/7.496, allocations: 87.09 kB / 3.098 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/7.498, allocations: 0.9915 MB / 3.099 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/7.498, allocations: 0 / 3.099 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/7.498, allocations: 39.44 kB / 3.099 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/7.498, allocations: 33.66 kB / 3.099 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/7.499, allocations: 0.7318 MB / 3.1 GB, free: 140.8 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.005611/7.505, allocations: 4.052 MB / 3.104 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/7.506, allocations: 368.4 kB / 3.104 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/7.506, allocations: 205.5 kB / 3.104 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/7.506, allocations: 99.17 kB / 3.104 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/7.506, allocations: 43.94 kB / 3.104 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/7.506, allocations: 3.375 kB / 3.104 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.002493/7.509, allocations: 1.156 MB / 3.105 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/7.509, allocations: 59.25 kB / 3.105 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/7.51, allocations: 0.8448 MB / 3.106 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/7.51, allocations: 42.41 kB / 3.106 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/7.51, allocations: 496.4 kB / 3.107 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/7.51, allocations: 135.8 kB / 3.107 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/7.51, allocations: 10.94 kB / 3.107 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/7.511, allocations: 334.4 kB / 3.107 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/7.511, allocations: 198.7 kB / 3.107 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/7.511, allocations: 388.2 kB / 3.108 GB, free: 137.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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/7.513, allocations: 0.6962 MB / 3.108 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/7.513, allocations: 3.969 kB / 3.108 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001039/7.514, allocations: 0.6826 MB / 3.109 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/7.514, allocations: 7.812 kB / 3.109 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/7.514, allocations: 3.281 kB / 3.109 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/7.514, allocations: 10.22 kB / 3.109 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/7.515, allocations: 141 kB / 3.109 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/7.515, allocations: 12 kB / 3.109 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/7.516, allocations: 101.5 kB / 3.109 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/7.516, allocations: 27.31 kB / 3.109 GB, free: 137.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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001522/7.516, allocations: 143 kB / 3.11 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/7.516, allocations: 97.91 kB / 3.11 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/7.517, allocations: 101.8 kB / 3.11 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/7.517, allocations: 3.906 kB / 3.11 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/7.517, allocations: 0 / 3.11 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005377/7.517, allocations: 0.6644 MB / 3.11 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/7.52, allocations: 1.575 MB / 3.112 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/7.52, allocations: 3.812 kB / 3.112 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/7.52, allocations: 93.97 kB / 3.112 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/7.52, allocations: 7.188 kB / 3.112 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/7.52, allocations: 14.53 kB / 3.112 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/7.52, allocations: 10.47 kB / 3.112 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/7.52, allocations: 6.625 kB / 3.112 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/7.521, allocations: 1.036 MB / 3.113 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/7.522, allocations: 239.8 kB / 3.113 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/7.522, allocations: 27.28 kB / 3.113 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007996/7.523, allocations: 46.75 kB / 3.113 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/7.523, allocations: 33.47 kB / 3.113 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/7.523, allocations: 31.48 kB / 3.113 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008341/7.523, allocations: 0.6619 MB / 3.114 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/7.523, allocations: 2.875 kB / 3.114 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001463/7.525, allocations: 382.4 kB / 3.114 GB, free: 135.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.003302/7.528, allocations: 3.896 MB / 3.118 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000721/7.529, allocations: 459 kB / 3.119 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/7.529, allocations: 3.688 kB / 3.119 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/7.529, allocations: 186.9 kB / 3.119 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/7.532, allocations: 0.5882 MB / 3.119 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/7.536, allocations: 1.682 MB / 3.121 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/7.537, allocations: 1.124 MB / 3.122 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001037/7.538, allocations: 241.4 kB / 3.122 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/7.538, allocations: 340.8 kB / 3.123 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/7.538, allocations: 0 / 3.123 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07252/7.611, allocations: 50.71 MB / 3.172 GB, free: 129 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/7.611, allocations: 191.6 kB / 3.172 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/11.4, allocations: 3.938 kB / 3.172 GB, free: 128.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)