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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004323/0.004323, allocations: 100.9 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 195 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7465/0.7465, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.22 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1565, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6567/0.8131, allocations: 190.3 MB / 0.845 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009738/0.8229, allocations: 5.672 MB / 0.8506 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.8254, allocations: 41.5 kB / 0.8506 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.8275, allocations: 0.5843 MB / 0.8512 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004951/0.8325, allocations: 1.677 MB / 0.8528 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.8359, allocations: 1.208 MB / 0.854 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003559/0.8395, allocations: 2.506 MB / 0.8565 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.8411, allocations: 1.003 MB / 0.8574 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.8435, allocations: 1.069 MB / 0.8585 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.8456, allocations: 0.8165 MB / 0.8593 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.8459, allocations: 102.8 kB / 0.8594 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.8492, allocations: 1.53 MB / 0.8609 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000598/0.8498, allocations: 492.4 kB / 0.8613 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008979/0.8507, allocations: 0.6237 MB / 0.8619 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.8539, allocations: 2.115 MB / 0.864 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8539, allocations: 3.188 kB / 0.864 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8539, allocations: 3.281 kB / 0.864 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.235e-05/0.8539, allocations: 0 / 0.864 GB, free: 1.93 MB / 0.6387 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.002135/0.8561, allocations: 1.473 MB / 0.8655 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.8561, allocations: 11.38 kB / 0.8655 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.8563, allocations: 144.8 kB / 0.8656 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.8581, allocations: 332.4 kB / 0.8659 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.8593, allocations: 0.8157 MB / 0.8667 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.8594, allocations: 63.88 kB / 0.8668 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.8595, allocations: 83.97 kB / 0.8669 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.861, allocations: 1.067 MB / 0.8679 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.8611, allocations: 7 kB / 0.8679 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.8611, allocations: 39.53 kB / 0.8679 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.8612, allocations: 38.22 kB / 0.868 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.8625, allocations: 0.8276 MB / 0.8688 GB, free: 0.5469 MB / 0.6387 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.005174/0.8677, allocations: 4.245 MB / 0.8729 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.8682, allocations: 372.6 kB / 0.8733 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.8685, allocations: 213.9 kB / 0.8735 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.8687, allocations: 107.8 kB / 0.8736 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.8688, allocations: 46.91 kB / 0.8736 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 3.677e-06/0.8688, allocations: 0 / 0.8736 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.002589/0.8714, allocations: 1.324 MB / 0.8749 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.8714, allocations: 58.06 kB / 0.875 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.8727, allocations: 1.004 MB / 0.876 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.8728, allocations: 34.98 kB / 0.876 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.8731, allocations: 0.489 MB / 0.8765 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.8733, allocations: 138.9 kB / 0.8766 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.8735, allocations: 124.9 kB / 0.8767 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.8736, allocations: 336.5 kB / 0.8771 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.874, allocations: 234 kB / 0.8773 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.8745, allocations: 438.1 kB / 0.8777 GB, free: 12.62 MB / 0.6544 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.002246/0.8768, allocations: 1.21 MB / 0.8789 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8768, allocations: 0.5938 kB / 0.8789 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001395/0.8782, allocations: 0.7681 MB / 0.8796 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.8783, allocations: 9 kB / 0.8796 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.8783, allocations: 7.375 kB / 0.8796 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.8783, allocations: 8.5 kB / 0.8797 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.8789, allocations: 147.3 kB / 0.8798 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.8789, allocations: 13.03 kB / 0.8798 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.8799, allocations: 51.5 kB / 0.8799 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.88, allocations: 34.66 kB / 0.8799 GB, free: 12.22 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005598/0.8805, allocations: 314.3 kB / 0.8802 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.8807, allocations: 98.19 kB / 0.8803 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.8809, allocations: 102 kB / 0.8804 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.8809, allocations: 5.312 kB / 0.8804 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.8809, allocations: 0 / 0.8804 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007083/0.8816, allocations: 0.6793 MB / 0.881 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.8841, allocations: 1.593 MB / 0.8826 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.8841, allocations: 2.781 kB / 0.8826 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.8845, allocations: 81.53 kB / 0.8827 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.8845, allocations: 6.75 kB / 0.8827 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.8845, allocations: 18.16 kB / 0.8827 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.8845, allocations: 6.562 kB / 0.8827 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.8845, allocations: 8.531 kB / 0.8827 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.8856, allocations: 0.8477 MB / 0.8836 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.8861, allocations: 243.7 kB / 0.8838 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.8862, allocations: 12.17 kB / 0.8838 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.8868, allocations: 42.78 kB / 0.8838 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.8869, allocations: 36.89 kB / 0.8839 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.887, allocations: 26.22 kB / 0.8839 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009889/0.888, allocations: 0.7099 MB / 0.8846 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.888, allocations: 0.6562 kB / 0.8846 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008962/0.8889, allocations: 256 kB / 0.8848 GB, free: 9.805 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/0.8906, allocations: 1.505 MB / 0.8863 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.8916, allocations: 0.5048 MB / 0.8868 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.433e-06/0.8916, allocations: 2.5 kB / 0.8868 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.8919, allocations: 190.1 kB / 0.887 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.8945, allocations: 0.612 MB / 0.8876 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.9053, allocations: 7.583 MB / 0.895 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009137/0.9063, allocations: 1.101 MB / 0.8961 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001096/0.9074, allocations: 253 kB / 0.8963 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.908, allocations: 345.2 kB / 0.8966 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of SimCode: time 8.41e-07/0.908, allocations: 4 kB / 0.8966 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05698/0.965, allocations: 27.84 MB / 0.9238 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.178/10.14, allocations: 4.266 kB / 0.9238 GB, free: 10.15 MB / 0.6856 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/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)