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.008096/0.008096, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.001949/0.001949, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 67.16 kB / 0.5809 GB, free: 1.074 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.226, allocations: 80.2 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6085/0.8345, allocations: 190.3 MB / 0.845 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007718/0.8423, allocations: 5.672 MB / 0.8506 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009621/0.8433, allocations: 41.41 kB / 0.8506 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.8445, allocations: 0.5879 MB / 0.8512 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.8475, allocations: 1.664 MB / 0.8528 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.8499, allocations: 1.215 MB / 0.854 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002118/0.852, allocations: 2.512 MB / 0.8565 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009779/0.853, allocations: 0.9982 MB / 0.8574 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.8543, allocations: 1.065 MB / 0.8585 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.8555, allocations: 0.8194 MB / 0.8593 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.8557, allocations: 101.1 kB / 0.8594 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.8579, allocations: 1.533 MB / 0.8609 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.8583, allocations: 489.2 kB / 0.8613 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.8588, allocations: 0.625 MB / 0.8619 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.8609, allocations: 2.121 MB / 0.864 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8609, allocations: 2.953 kB / 0.864 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8609, allocations: 1 kB / 0.864 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.8609, allocations: 0 / 0.864 GB, free: 1.945 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.001745/0.8626, allocations: 1.512 MB / 0.8655 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.8627, allocations: 12.19 kB / 0.8655 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.8628, allocations: 146.5 kB / 0.8656 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.8646, allocations: 335.4 kB / 0.866 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.8656, allocations: 0.8207 MB / 0.8668 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.8657, allocations: 67.58 kB / 0.8668 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.8658, allocations: 84.31 kB / 0.8669 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.8672, allocations: 1.074 MB / 0.868 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.8673, allocations: 0 / 0.868 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.961e-05/0.8673, allocations: 39.06 kB / 0.868 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.8674, allocations: 36.38 kB / 0.868 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.8687, allocations: 0.8307 MB / 0.8688 GB, free: 0.5078 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.004368/0.873, allocations: 4.258 MB / 0.873 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.8735, allocations: 375.8 kB / 0.8734 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.8738, allocations: 220.8 kB / 0.8736 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.8739, allocations: 103.5 kB / 0.8737 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.874, allocations: 41.16 kB / 0.8737 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.874, allocations: 2.25 kB / 0.8737 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.002168/0.8762, allocations: 1.332 MB / 0.875 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.8762, allocations: 55.84 kB / 0.8751 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.8774, allocations: 1.003 MB / 0.876 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.8774, allocations: 42.14 kB / 0.8761 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.8777, allocations: 0.5019 MB / 0.8766 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.8779, allocations: 146.1 kB / 0.8767 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.878, allocations: 122 kB / 0.8768 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8782, allocations: 337.5 kB / 0.8772 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.8786, allocations: 232.3 kB / 0.8774 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.8791, allocations: 434.3 kB / 0.8778 GB, free: 12.54 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.002128/0.8812, allocations: 1.204 MB / 0.879 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8812, allocations: 4 kB / 0.879 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001156/0.8824, allocations: 0.7781 MB / 0.8797 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8824, allocations: 8.094 kB / 0.8797 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8825, allocations: 12.77 kB / 0.8798 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.8825, allocations: 8 kB / 0.8798 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.883, allocations: 146.6 kB / 0.8799 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.883, allocations: 12.19 kB / 0.8799 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/0.8838, allocations: 56.11 kB / 0.88 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.8839, allocations: 29.22 kB / 0.88 GB, free: 12.14 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.0003349/0.8842, allocations: 321.9 kB / 0.8803 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.8844, allocations: 102 kB / 0.8804 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.8845, allocations: 103.4 kB / 0.8805 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.8846, allocations: 2.344 kB / 0.8805 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.8846, allocations: 0 / 0.8805 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005912/0.8852, allocations: 0.6855 MB / 0.8812 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.8872, allocations: 1.584 MB / 0.8827 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.8872, allocations: 2.875 kB / 0.8827 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.8876, allocations: 90.64 kB / 0.8828 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.8876, allocations: 4.875 kB / 0.8828 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.8876, allocations: 14.34 kB / 0.8828 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.8876, allocations: 7.5 kB / 0.8828 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8876, allocations: 6.875 kB / 0.8828 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009371/0.8886, allocations: 0.8521 MB / 0.8837 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.8889, allocations: 249.1 kB / 0.8839 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.889, allocations: 11.5 kB / 0.8839 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.8897, allocations: 41 kB / 0.884 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.8897, allocations: 41.38 kB / 0.884 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.8898, allocations: 27.92 kB / 0.884 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000875/0.8907, allocations: 0.7052 MB / 0.8847 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8907, allocations: 1.031 kB / 0.8847 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007137/0.8914, allocations: 260 kB / 0.885 GB, free: 9.699 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.001442/0.8929, allocations: 1.502 MB / 0.8864 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008074/0.8937, allocations: 0.4996 MB / 0.8869 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8937, allocations: 3.406 kB / 0.8869 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.8939, allocations: 191.4 kB / 0.8871 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8964, allocations: 0.6183 MB / 0.8877 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008794/0.9052, allocations: 7.611 MB / 0.8951 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.9059, allocations: 1.103 MB / 0.8962 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007565/0.9066, allocations: 247.3 kB / 0.8964 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.9071, allocations: 349.6 kB / 0.8968 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.9071, allocations: 0 / 0.8968 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05026/0.9573, allocations: 27.84 MB / 0.924 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.72/9.677, allocations: 4.719 kB / 0.924 GB, free: 9.977 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)