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.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7674/0.7674, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 73.03 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 80.19 MB / 0.5802 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4075/0.5462, allocations: 190.3 MB / 0.7661 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008516/0.5547, allocations: 5.655 MB / 0.7716 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007621/0.5555, allocations: 47.75 kB / 0.7716 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.5568, allocations: 0.563 MB / 0.7722 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.5602, allocations: 1.609 MB / 0.7738 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.5629, allocations: 1.19 MB / 0.7749 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002489/0.5654, allocations: 2.502 MB / 0.7774 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.5665, allocations: 0.9996 MB / 0.7783 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.5679, allocations: 1.023 MB / 0.7793 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.5693, allocations: 0.815 MB / 0.7801 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.5694, allocations: 107.9 kB / 0.7802 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.5719, allocations: 1.52 MB / 0.7817 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004572/0.5724, allocations: 482.8 kB / 0.7822 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.5731, allocations: 0.63 MB / 0.7828 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.5754, allocations: 2.1 MB / 0.7848 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5754, allocations: 0 / 0.7848 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5754, allocations: 0 / 0.7848 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.5754, allocations: 4 kB / 0.7848 GB, free: 1.168 MB / 0.5919 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.002163/0.5776, allocations: 1.486 MB / 0.7863 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.5776, allocations: 12.03 kB / 0.7863 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.5778, allocations: 135.2 kB / 0.7864 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.5797, allocations: 330.3 kB / 0.7868 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.5808, allocations: 0.7649 MB / 0.7875 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/0.5812, allocations: 129.8 kB / 0.7876 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5814, allocations: 84 kB / 0.7877 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.5831, allocations: 1.081 MB / 0.7888 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.5831, allocations: 4 kB / 0.7888 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.5832, allocations: 36 kB / 0.7888 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.5833, allocations: 37.98 kB / 0.7888 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.5848, allocations: 0.8314 MB / 0.7896 GB, free: 12.11 MB / 0.6075 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.005134/0.59, allocations: 4.308 MB / 0.7939 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.5905, allocations: 377.5 kB / 0.7942 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.5908, allocations: 212.7 kB / 0.7944 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.591, allocations: 101.7 kB / 0.7945 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.591, allocations: 38.56 kB / 0.7945 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.794e-06/0.591, allocations: 3.938 kB / 0.7946 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.00226/0.5933, allocations: 1.329 MB / 0.7958 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.5933, allocations: 55.41 kB / 0.7959 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5946, allocations: 1.012 MB / 0.7969 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.5947, allocations: 33.7 kB / 0.7969 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.595, allocations: 0.4914 MB / 0.7974 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5952, allocations: 138 kB / 0.7975 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.5954, allocations: 130.1 kB / 0.7977 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5955, allocations: 322 kB / 0.798 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.596, allocations: 241.2 kB / 0.7982 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.5966, allocations: 445.5 kB / 0.7986 GB, free: 2.414 MB / 0.6075 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.002427/0.599, allocations: 1.213 MB / 0.7998 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.599, allocations: 4 kB / 0.7998 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001384/0.6004, allocations: 0.7768 MB / 0.8006 GB, free: 324 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6004, allocations: 11.94 kB / 0.8006 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6005, allocations: 8 kB / 0.8006 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.6005, allocations: 8 kB / 0.8006 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.6011, allocations: 149.3 kB / 0.8007 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.6011, allocations: 15.61 kB / 0.8008 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.602, allocations: 59.14 kB / 0.8008 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.6021, allocations: 31.98 kB / 0.8008 GB, free: 48 kB / 0.6075 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.0003913/0.6025, allocations: 307.1 kB / 0.8011 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6026, allocations: 106.8 kB / 0.8012 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.6028, allocations: 105.1 kB / 0.8013 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6028, allocations: 4 kB / 0.8013 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6028, allocations: 0 / 0.8013 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000668/0.6035, allocations: 0.6848 MB / 0.802 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.6057, allocations: 1.585 MB / 0.8036 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6057, allocations: 4.5 kB / 0.8036 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.6061, allocations: 83.91 kB / 0.8036 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.6062, allocations: 8 kB / 0.8036 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.6062, allocations: 19.92 kB / 0.8037 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.6062, allocations: 11.62 kB / 0.8037 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.6062, allocations: 7.938 kB / 0.8037 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.6072, allocations: 0.8486 MB / 0.8045 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.6076, allocations: 239.9 kB / 0.8047 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.6077, allocations: 15.98 kB / 0.8048 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.6084, allocations: 39.97 kB / 0.8048 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.6084, allocations: 35.84 kB / 0.8048 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.6085, allocations: 27.98 kB / 0.8049 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009901/0.6095, allocations: 0.7116 MB / 0.8056 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6095, allocations: 3.938 kB / 0.8056 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007542/0.6103, allocations: 256 kB / 0.8058 GB, free: 10.67 MB / 0.6231 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.001533/0.6118, allocations: 1.494 MB / 0.8073 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009692/0.6128, allocations: 0.5399 MB / 0.8078 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6128, allocations: 0 / 0.8078 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.6131, allocations: 188.7 kB / 0.808 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.6158, allocations: 0.6236 MB / 0.8086 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.6258, allocations: 8.009 MB / 0.8164 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.6264, allocations: 1.099 MB / 0.8175 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008644/0.6273, allocations: 252.3 kB / 0.8177 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.6278, allocations: 339.3 kB / 0.818 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.6278, allocations: 4 kB / 0.818 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.052/0.6798, allocations: 27.66 MB / 0.845 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.569, allocations: 6.672 kB / 0.8451 GB, free: 2.422 MB / 0.6544 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)