Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_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.001725/0.001726, 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.001973/0.001973, allocations: 195.6 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8898/0.8898, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 64.28 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1388, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4038/0.5427, allocations: 190.3 MB / 0.7703 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008867/0.5516, allocations: 5.682 MB / 0.7759 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.5529, allocations: 43.75 kB / 0.7759 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.5543, allocations: 0.563 MB / 0.7765 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.5578, allocations: 1.599 MB / 0.778 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.5606, allocations: 1.182 MB / 0.7792 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002592/0.5632, allocations: 2.498 MB / 0.7816 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.5643, allocations: 0.9956 MB / 0.7826 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.5657, allocations: 1.031 MB / 0.7836 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.5671, allocations: 0.8268 MB / 0.7844 GB, free: 104 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.5672, allocations: 100 kB / 0.7845 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.5697, allocations: 1.524 MB / 0.786 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.5702, allocations: 498.7 kB / 0.7865 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006266/0.5708, allocations: 0.6183 MB / 0.7871 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.5731, allocations: 2.103 MB / 0.7891 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5731, allocations: 0 / 0.7891 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.051e-06/0.5731, allocations: 0 / 0.7891 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.5731, allocations: 0 / 0.7891 GB, free: 11.26 MB / 0.6075 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.002049/0.5752, allocations: 1.48 MB / 0.7906 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5752, allocations: 8.031 kB / 0.7906 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.5754, allocations: 143.1 kB / 0.7907 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.5773, allocations: 334.3 kB / 0.791 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5784, allocations: 0.7649 MB / 0.7918 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/0.5788, allocations: 129.8 kB / 0.7919 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.5789, allocations: 88 kB / 0.792 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.5806, allocations: 1.075 MB / 0.793 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.5806, allocations: 3.938 kB / 0.793 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.5807, allocations: 36 kB / 0.7931 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.5808, allocations: 37.98 kB / 0.7931 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.5824, allocations: 0.8392 MB / 0.7939 GB, free: 6.191 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.005102/0.5875, allocations: 4.289 MB / 0.7981 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.588, allocations: 374.8 kB / 0.7985 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.5883, allocations: 217.8 kB / 0.7987 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.5885, allocations: 97.67 kB / 0.7988 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.5886, allocations: 42.5 kB / 0.7988 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.033e-06/0.5886, allocations: 0 / 0.7988 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002362/0.5909, allocations: 1.333 MB / 0.8001 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.591, allocations: 59.39 kB / 0.8002 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.5923, allocations: 1.001 MB / 0.8012 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.5923, allocations: 37.7 kB / 0.8012 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.5926, allocations: 499.2 kB / 0.8017 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5928, allocations: 145.9 kB / 0.8018 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.5929, allocations: 122.2 kB / 0.8019 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.5931, allocations: 334 kB / 0.8022 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.5935, allocations: 237.2 kB / 0.8025 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.5942, allocations: 442.6 kB / 0.8029 GB, free: 12.52 MB / 0.6231 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.00245/0.5966, allocations: 1.214 MB / 0.8041 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.5967, allocations: 4 kB / 0.8041 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001383/0.598, allocations: 0.7813 MB / 0.8048 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5981, allocations: 11.94 kB / 0.8049 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.5981, allocations: 4 kB / 0.8049 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5981, allocations: 8 kB / 0.8049 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.5987, allocations: 144.1 kB / 0.805 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.5987, allocations: 15.94 kB / 0.805 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.5996, allocations: 74.09 kB / 0.8051 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.5997, allocations: 24 kB / 0.8051 GB, free: 10.14 MB / 0.6231 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.00038/0.6001, allocations: 318.4 kB / 0.8054 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.6002, allocations: 98.81 kB / 0.8055 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.6004, allocations: 105 kB / 0.8056 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6004, allocations: 4 kB / 0.8056 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6004, allocations: 0 / 0.8056 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006426/0.6011, allocations: 0.6809 MB / 0.8063 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.6032, allocations: 1.587 MB / 0.8078 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6032, allocations: 4.5 kB / 0.8078 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.6037, allocations: 95.83 kB / 0.8079 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6037, allocations: 4 kB / 0.8079 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.6037, allocations: 15.94 kB / 0.8079 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.6037, allocations: 4 kB / 0.8079 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6037, allocations: 7.938 kB / 0.808 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.6047, allocations: 0.8451 MB / 0.8088 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.605, allocations: 243.9 kB / 0.809 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.6052, allocations: 12.81 kB / 0.809 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.6059, allocations: 41.39 kB / 0.8091 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.6059, allocations: 39.83 kB / 0.8091 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.606, allocations: 28.8 kB / 0.8091 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009895/0.607, allocations: 0.7155 MB / 0.8098 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.607, allocations: 0 / 0.8098 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007885/0.6078, allocations: 260 kB / 0.8101 GB, free: 4.766 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.001582/0.6094, allocations: 1.493 MB / 0.8115 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009794/0.6104, allocations: 0.54 MB / 0.8121 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6104, allocations: 0 / 0.8121 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.6106, allocations: 193.5 kB / 0.8122 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.6133, allocations: 0.6122 MB / 0.8128 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.6234, allocations: 8.01 MB / 0.8207 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.6241, allocations: 1.099 MB / 0.8217 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009101/0.625, allocations: 256.3 kB / 0.822 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.6254, allocations: 343.3 kB / 0.8223 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.6254, allocations: 4 kB / 0.8223 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0516/0.677, allocations: 27.66 MB / 0.8493 GB, free: 12.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.484, allocations: 8 kB / 0.8493 GB, free: 12.45 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)