Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_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.01693/0.01693, allocations: 170.8 kB / 15.11 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 1.365/1.365, allocations: 135.2 MB / 151 MB, free: 13.82 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.871/2.871, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001648/0.001648, allocations: 99.69 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006822/0.0006823, allocations: 16 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9367/0.9375, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.232/9.169, allocations: 1.883 GB / 2.532 GB, free: 93.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005015/9.17, allocations: 87.95 kB / 2.532 GB, free: 92.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.023/12.19, allocations: 0.5723 GB / 3.105 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.015e-06/12.19, allocations: 4 kB / 3.105 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.917e-05/12.19, allocations: 32.11 kB / 3.105 GB, free: 31.79 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.004525/12.2, allocations: 1.39 MB / 3.106 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.876e-05/12.2, allocations: 8.031 kB / 3.106 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004209/12.2, allocations: 143.2 kB / 3.106 GB, free: 30.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/12.2, allocations: 314.4 kB / 3.107 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/12.2, allocations: 0.812 MB / 3.107 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005176/12.2, allocations: 129.9 kB / 3.107 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/12.21, allocations: 91.98 kB / 3.108 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/12.21, allocations: 1.035 MB / 3.109 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/12.21, allocations: 0 / 3.109 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/12.21, allocations: 36 kB / 3.109 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/12.21, allocations: 34 kB / 3.109 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/12.21, allocations: 0.808 MB / 3.109 GB, free: 26.86 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.009204/12.22, allocations: 4.046 MB / 3.113 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/12.22, allocations: 378.3 kB / 3.114 GB, free: 22.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/12.22, allocations: 105.1 kB / 3.114 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/12.22, allocations: 42.56 kB / 3.114 GB, free: 22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 4.718e-06/12.22, allocations: 0 / 3.114 GB, free: 22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.004827/12.23, allocations: 1.293 MB / 3.115 GB, free: 20.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/12.23, allocations: 59.34 kB / 3.115 GB, free: 20.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/12.23, allocations: 0.8895 MB / 3.116 GB, free: 19.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/12.23, allocations: 33.7 kB / 3.116 GB, free: 19.63 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/12.23, allocations: 491.3 kB / 3.117 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/12.23, allocations: 146 kB / 3.117 GB, free: 19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/12.23, allocations: 12 kB / 3.117 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000106/12.23, allocations: 334 kB / 3.117 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007103/12.23, allocations: 229.2 kB / 3.117 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/12.23, allocations: 423.8 kB / 3.118 GB, free: 17.95 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.002671/12.23, allocations: 0.7241 MB / 3.118 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/12.23, allocations: 4 kB / 3.118 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002225/12.24, allocations: 0.7613 MB / 3.119 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/12.24, allocations: 9.094 kB / 3.119 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/12.24, allocations: 7.938 kB / 3.119 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.38e-05/12.24, allocations: 8 kB / 3.119 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009298/12.24, allocations: 139.8 kB / 3.119 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/12.24, allocations: 11.94 kB / 3.119 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/12.24, allocations: 95.89 kB / 3.119 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/12.24, allocations: 32 kB / 3.119 GB, free: 16.14 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.0008573/12.24, allocations: 310.6 kB / 3.12 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/12.24, allocations: 98.83 kB / 3.12 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/12.24, allocations: 105 kB / 3.12 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/12.24, allocations: 4 kB / 3.12 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/12.24, allocations: 0 / 3.12 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006471/12.24, allocations: 0.671 MB / 3.121 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/12.24, allocations: 1.576 MB / 3.122 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/12.24, allocations: 4 kB / 3.122 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/12.25, allocations: 91.83 kB / 3.122 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/12.25, allocations: 8 kB / 3.122 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/12.25, allocations: 16.45 kB / 3.122 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/12.25, allocations: 4.062 kB / 3.122 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/12.25, allocations: 15.94 kB / 3.122 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/12.25, allocations: 1.033 MB / 3.123 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007998/12.25, allocations: 243.8 kB / 3.123 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/12.25, allocations: 8 kB / 3.123 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/12.25, allocations: 59.89 kB / 3.124 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/12.25, allocations: 39.86 kB / 3.124 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/12.25, allocations: 27.98 kB / 3.124 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001651/12.25, allocations: 0.7073 MB / 3.124 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/12.25, allocations: 0 / 3.124 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00236/12.25, allocations: 376 kB / 3.125 GB, free: 10.38 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.004994/12.26, allocations: 3.905 MB / 3.128 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001457/12.26, allocations: 0.4918 MB / 3.129 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/12.26, allocations: 0 / 3.129 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/12.26, allocations: 185.7 kB / 3.129 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004362/12.27, allocations: 0.5766 MB / 3.13 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/12.28, allocations: 8.94 MB / 3.138 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/12.28, allocations: 1.116 MB / 3.14 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001561/12.28, allocations: 236.2 kB / 3.14 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007107/12.28, allocations: 343.3 kB / 3.14 GB, free: 10.09 MB / 0.698 GB Notification: Performance of SimCode: time 2.044e-06/12.28, allocations: 0 / 3.14 GB, free: 10.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9114/13.19, allocations: 47.44 MB / 3.186 GB, free: 142.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003853/13.19, allocations: 228.7 kB / 3.187 GB, free: 142.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.154/19.35, allocations: 0 / 3.187 GB, free: 142.2 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)