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.005095/0.005095, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001145/0.001145, allocations: 196.6 kB / 16.68 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7517/0.7517, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.19 kB / 0.5809 GB, free: 24.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1324, allocations: 80.21 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.477/0.6094, allocations: 190.3 MB / 0.845 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008299/0.6178, allocations: 5.677 MB / 0.8506 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.6189, allocations: 40.84 kB / 0.8506 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.6202, allocations: 0.5942 MB / 0.8512 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.6238, allocations: 1.659 MB / 0.8528 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.6265, allocations: 1.223 MB / 0.854 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002578/0.6291, allocations: 2.499 MB / 0.8565 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.6302, allocations: 0.996 MB / 0.8574 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.6318, allocations: 1.071 MB / 0.8585 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.6331, allocations: 0.8139 MB / 0.8593 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.6333, allocations: 106.9 kB / 0.8594 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.6359, allocations: 1.536 MB / 0.8609 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.6363, allocations: 490.7 kB / 0.8613 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006259/0.637, allocations: 0.626 MB / 0.862 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.6395, allocations: 2.12 MB / 0.864 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6395, allocations: 0 / 0.864 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6395, allocations: 0 / 0.864 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.6396, allocations: 0 / 0.864 GB, free: 4.469 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.002177/0.6417, allocations: 1.509 MB / 0.8655 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6418, allocations: 12.03 kB / 0.8655 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.642, allocations: 143.2 kB / 0.8657 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.6439, allocations: 334.9 kB / 0.866 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.6452, allocations: 0.8124 MB / 0.8668 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.6453, allocations: 69.88 kB / 0.8668 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6454, allocations: 88 kB / 0.8669 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.6471, allocations: 1.078 MB / 0.868 GB, free: 292 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.6472, allocations: 0 / 0.868 GB, free: 292 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.304e-05/0.6473, allocations: 40 kB / 0.868 GB, free: 252 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/0.6473, allocations: 33.98 kB / 0.868 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.6488, allocations: 0.8236 MB / 0.8688 GB, free: 15.39 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.00513/0.6539, allocations: 4.265 MB / 0.873 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.6545, allocations: 374.8 kB / 0.8734 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.6548, allocations: 220.8 kB / 0.8736 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.6549, allocations: 93.09 kB / 0.8737 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.655, allocations: 38.56 kB / 0.8737 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.655, allocations: 4 kB / 0.8737 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.00234/0.6573, allocations: 1.353 MB / 0.875 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.6574, allocations: 55.41 kB / 0.8751 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.6586, allocations: 0.9928 MB / 0.8761 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.6587, allocations: 41.7 kB / 0.8761 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.659, allocations: 0.5002 MB / 0.8766 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.6592, allocations: 150.7 kB / 0.8767 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.6594, allocations: 122.2 kB / 0.8768 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6595, allocations: 334 kB / 0.8772 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.6599, allocations: 237.1 kB / 0.8774 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.6605, allocations: 433.5 kB / 0.8778 GB, free: 5.719 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.002371/0.6629, allocations: 1.22 MB / 0.879 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6629, allocations: 4 kB / 0.879 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001325/0.6643, allocations: 0.7661 MB / 0.8797 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.6643, allocations: 11.94 kB / 0.8798 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.6643, allocations: 8 kB / 0.8798 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.6643, allocations: 8 kB / 0.8798 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.6649, allocations: 135.8 kB / 0.8799 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.6649, allocations: 15.92 kB / 0.8799 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.6658, allocations: 58.64 kB / 0.88 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.6659, allocations: 28 kB / 0.88 GB, free: 3.371 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.000387/0.6663, allocations: 313.5 kB / 0.8803 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.6664, allocations: 107.3 kB / 0.8804 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.6666, allocations: 109 kB / 0.8805 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6666, allocations: 4 kB / 0.8805 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6666, allocations: 4 kB / 0.8805 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006442/0.6673, allocations: 0.672 MB / 0.8812 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.6696, allocations: 1.589 MB / 0.8827 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6696, allocations: 0 / 0.8827 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.67, allocations: 91.83 kB / 0.8828 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.67, allocations: 8 kB / 0.8828 GB, free: 288 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.67, allocations: 15.94 kB / 0.8828 GB, free: 272 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.6701, allocations: 4 kB / 0.8828 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.6701, allocations: 7.938 kB / 0.8828 GB, free: 260 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.6711, allocations: 0.86 MB / 0.8837 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.6715, allocations: 248.5 kB / 0.8839 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.6716, allocations: 12 kB / 0.8839 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.6723, allocations: 35.97 kB / 0.884 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.6724, allocations: 39.83 kB / 0.884 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.6724, allocations: 27.98 kB / 0.884 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009635/0.6734, allocations: 0.7077 MB / 0.8847 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6734, allocations: 0 / 0.8847 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007743/0.6742, allocations: 263.9 kB / 0.885 GB, free: 13.98 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.001579/0.6758, allocations: 1.494 MB / 0.8864 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008887/0.6767, allocations: 0.5007 MB / 0.8869 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.6767, allocations: 4 kB / 0.8869 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.677, allocations: 187.9 kB / 0.8871 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.6796, allocations: 0.6271 MB / 0.8877 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/0.6893, allocations: 7.627 MB / 0.8952 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.69, allocations: 1.099 MB / 0.8962 GB, free: 2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007722/0.6908, allocations: 244.3 kB / 0.8965 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.6912, allocations: 339.3 kB / 0.8968 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of SimCode: time 5.92e-07/0.6912, allocations: 0 / 0.8968 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/0.744, allocations: 27.84 MB / 0.924 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.715/9.459, allocations: 4.062 kB / 0.924 GB, free: 5.941 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)