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.007815/0.007815, allocations: 172.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8027/0.8027, 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 1.697/1.697, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001039/0.00104, allocations: 92.8 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004006, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5288, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.903/5.432, allocations: 1.883 GB / 2.532 GB, free: 55.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/5.432, allocations: 87.77 kB / 2.532 GB, free: 55.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.895/7.328, allocations: 0.5723 GB / 3.105 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.483e-06/7.328, allocations: 4 kB / 3.105 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001121/7.328, allocations: 24 kB / 3.105 GB, free: 2.766 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.00381/7.332, allocations: 1.383 MB / 3.106 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/7.332, allocations: 8.031 kB / 3.106 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003975/7.332, allocations: 139.2 kB / 3.106 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/7.335, allocations: 330.2 kB / 3.107 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/7.337, allocations: 0.7964 MB / 3.107 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4177/7.754, allocations: 131.7 kB / 3.107 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/7.755, allocations: 84.98 kB / 3.108 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/7.757, allocations: 1.038 MB / 3.109 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/7.757, allocations: 0.8125 kB / 3.109 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/7.757, allocations: 40.31 kB / 3.109 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/7.757, allocations: 31.81 kB / 3.109 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/7.759, allocations: 0.8099 MB / 3.109 GB, free: 141.1 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.006104/7.765, allocations: 4.04 MB / 3.113 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/7.766, allocations: 380.6 kB / 3.114 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/7.766, allocations: 98.02 kB / 3.114 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/7.766, allocations: 42.53 kB / 3.114 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.455e-06/7.766, allocations: 0 / 3.114 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.002673/7.769, allocations: 1.305 MB / 3.115 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/7.769, allocations: 59.62 kB / 3.115 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/7.77, allocations: 0.8828 MB / 3.116 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/7.77, allocations: 36.42 kB / 3.116 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/7.771, allocations: 495.9 kB / 3.117 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/7.771, allocations: 136.9 kB / 3.117 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/7.771, allocations: 14.38 kB / 3.117 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/7.771, allocations: 329.4 kB / 3.117 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/7.771, allocations: 233.6 kB / 3.117 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/7.772, allocations: 419.9 kB / 3.118 GB, free: 137.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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/7.773, allocations: 0.7273 MB / 3.118 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/7.773, allocations: 2.094 kB / 3.118 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001278/7.775, allocations: 0.7585 MB / 3.119 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/7.775, allocations: 11.27 kB / 3.119 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/7.775, allocations: 2.375 kB / 3.119 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/7.775, allocations: 14.41 kB / 3.119 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/7.775, allocations: 141 kB / 3.119 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/7.775, allocations: 14.39 kB / 3.119 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/7.777, allocations: 106.5 kB / 3.119 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/7.777, allocations: 22.75 kB / 3.119 GB, free: 137.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: 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 () * Number of clocked 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.000548/7.777, allocations: 312.6 kB / 3.12 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/7.777, allocations: 99.12 kB / 3.12 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/7.778, allocations: 101.9 kB / 3.12 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/7.778, allocations: 5.344 kB / 3.12 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/7.778, allocations: 3.375 kB / 3.12 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005209/7.778, allocations: 0.6714 MB / 3.121 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/7.781, allocations: 1.57 MB / 3.122 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/7.781, allocations: 3.875 kB / 3.122 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/7.781, allocations: 91.92 kB / 3.122 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/7.781, allocations: 6.719 kB / 3.122 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/7.781, allocations: 14.03 kB / 3.122 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/7.781, allocations: 10.73 kB / 3.122 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/7.781, allocations: 6.625 kB / 3.122 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/7.782, allocations: 1.046 MB / 3.123 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/7.783, allocations: 235.2 kB / 3.123 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/7.783, allocations: 13.03 kB / 3.123 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000917/7.784, allocations: 59.73 kB / 3.124 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/7.784, allocations: 39.66 kB / 3.124 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/7.784, allocations: 32.11 kB / 3.124 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001159/7.785, allocations: 0.7015 MB / 3.124 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.785, allocations: 0 / 3.124 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001759/7.787, allocations: 381.3 kB / 3.125 GB, free: 135.6 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 () * Number of clocked 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.004003/7.791, allocations: 3.901 MB / 3.128 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001227/7.792, allocations: 492.4 kB / 3.129 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/7.792, allocations: 0 / 3.129 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/7.793, allocations: 184.3 kB / 3.129 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/7.795, allocations: 0.5824 MB / 3.13 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009746/7.805, allocations: 8.935 MB / 3.138 GB, free: 128 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/7.806, allocations: 1.12 MB / 3.14 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00117/7.807, allocations: 234.1 kB / 3.14 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/7.808, allocations: 342.6 kB / 3.14 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/7.808, allocations: 0 / 3.14 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07077/7.878, allocations: 47.42 MB / 3.186 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/7.879, allocations: 231.1 kB / 3.187 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.544/11.42, allocations: 0 / 3.187 GB, free: 125.9 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)