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.004366/0.004366, allocations: 100.7 kB / 15.73 MB, free: 6.066 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.001215/0.001215, allocations: 196.4 kB / 16.68 MB, free: 5.973 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7987/0.7987, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 71.97 kB / 0.5809 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1349, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4937/0.6286, allocations: 190.3 MB / 0.8451 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009358/0.638, allocations: 5.68 MB / 0.8506 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.639, allocations: 44 kB / 0.8506 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.6406, allocations: 0.5579 MB / 0.8512 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.644, allocations: 1.597 MB / 0.8527 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.6468, allocations: 1.202 MB / 0.8539 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.6497, allocations: 2.519 MB / 0.8564 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.6509, allocations: 0.9931 MB / 0.8573 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.6526, allocations: 1.03 MB / 0.8584 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.6544, allocations: 0.8187 MB / 0.8592 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.6545, allocations: 102.9 kB / 0.8593 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.6574, allocations: 1.527 MB / 0.8607 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005404/0.6579, allocations: 498.7 kB / 0.8612 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000738/0.6587, allocations: 0.6144 MB / 0.8618 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003103/0.6618, allocations: 2.124 MB / 0.8639 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6618, allocations: 0 / 0.8639 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6618, allocations: 0 / 0.8639 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.6618, allocations: 0 / 0.8639 GB, free: 4.566 MB / 0.6231 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.002398/0.6642, allocations: 1.513 MB / 0.8654 GB, free: 3 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6643, allocations: 12.03 kB / 0.8654 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.6645, allocations: 139.2 kB / 0.8655 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.6664, allocations: 334.9 kB / 0.8658 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.6676, allocations: 0.8201 MB / 0.8666 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.6677, allocations: 69.88 kB / 0.8667 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.6679, allocations: 84 kB / 0.8668 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6697, allocations: 1.063 MB / 0.8678 GB, free: 404 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.6697, allocations: 4 kB / 0.8678 GB, free: 400 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.6698, allocations: 39.98 kB / 0.8679 GB, free: 360 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/0.6699, allocations: 34 kB / 0.8679 GB, free: 328 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.6716, allocations: 0.8275 MB / 0.8687 GB, free: 15.48 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.005743/0.6773, allocations: 4.263 MB / 0.8729 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.6779, allocations: 374.8 kB / 0.8732 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.6783, allocations: 216.8 kB / 0.8734 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.6784, allocations: 97.09 kB / 0.8735 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.6785, allocations: 38.56 kB / 0.8736 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 1.492e-06/0.6785, allocations: 0 / 0.8736 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002464/0.681, allocations: 1.357 MB / 0.8749 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.6811, allocations: 55.41 kB / 0.8749 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.6826, allocations: 1 MB / 0.8759 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.6827, allocations: 37.7 kB / 0.876 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.6831, allocations: 0.5041 MB / 0.8764 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.6833, allocations: 150.7 kB / 0.8766 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.6835, allocations: 130.2 kB / 0.8767 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6836, allocations: 330 kB / 0.877 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.6841, allocations: 229.2 kB / 0.8772 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.6848, allocations: 433.6 kB / 0.8777 GB, free: 5.812 MB / 0.6387 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.002718/0.6875, allocations: 1.217 MB / 0.8788 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6875, allocations: 4 kB / 0.8788 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001398/0.6889, allocations: 0.7661 MB / 0.8796 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.689, allocations: 11.94 kB / 0.8796 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.689, allocations: 12.03 kB / 0.8796 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.689, allocations: 12 kB / 0.8796 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.6896, allocations: 143.7 kB / 0.8798 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.6896, allocations: 8 kB / 0.8798 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/0.6904, allocations: 55.95 kB / 0.8798 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.6905, allocations: 31.98 kB / 0.8799 GB, free: 3.457 MB / 0.6387 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.0003938/0.6909, allocations: 313.5 kB / 0.8802 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.6911, allocations: 103.3 kB / 0.8803 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.6913, allocations: 105 kB / 0.8804 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6914, allocations: 4 kB / 0.8804 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6914, allocations: 4 kB / 0.8804 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007997/0.6922, allocations: 0.6759 MB / 0.881 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.6946, allocations: 1.58 MB / 0.8826 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.6946, allocations: 12.08 kB / 0.8826 GB, free: 480 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.695, allocations: 79.91 kB / 0.8827 GB, free: 400 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.695, allocations: 8 kB / 0.8827 GB, free: 392 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.695, allocations: 23.92 kB / 0.8827 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.6951, allocations: 7.938 kB / 0.8827 GB, free: 360 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6951, allocations: 4 kB / 0.8827 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.6964, allocations: 0.8492 MB / 0.8835 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.6967, allocations: 252.3 kB / 0.8838 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.6968, allocations: 8 kB / 0.8838 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006503/0.6975, allocations: 39.97 kB / 0.8838 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.6975, allocations: 39.83 kB / 0.8839 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.6976, allocations: 31.92 kB / 0.8839 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001096/0.6987, allocations: 0.7077 MB / 0.8846 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6987, allocations: 0 / 0.8846 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007444/0.6995, allocations: 259.9 kB / 0.8848 GB, free: 14.08 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.001823/0.7013, allocations: 1.506 MB / 0.8863 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009259/0.7022, allocations: 0.5 MB / 0.8868 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7023, allocations: 0 / 0.8868 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.7025, allocations: 193.3 kB / 0.887 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7052, allocations: 0.6189 MB / 0.8876 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.7156, allocations: 7.629 MB / 0.895 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.7164, allocations: 1.103 MB / 0.8961 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007667/0.7172, allocations: 240.3 kB / 0.8963 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.7176, allocations: 343.3 kB / 0.8967 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.7177, allocations: 0 / 0.8967 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05722/0.7749, allocations: 27.84 MB / 0.9238 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.14/9.915, allocations: 10.56 kB / 0.9238 GB, free: 6.016 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)