Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.007468/0.007468, allocations: 103 kB / 15.74 MB, free: 6.496 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.001977/0.001977, allocations: 192.2 kB / 16.68 MB, free: 6.375 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8849/0.8849, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3503, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1624/0.5127, allocations: 170.8 MB / 0.8309 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005062/0.5178, allocations: 3.371 MB / 0.8342 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.5185, allocations: 23.88 kB / 0.8342 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.5196, allocations: 330.1 kB / 0.8346 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.522, allocations: 1.046 MB / 0.8356 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.5237, allocations: 0.6728 MB / 0.8362 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.5255, allocations: 1.529 MB / 0.8377 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006833/0.5262, allocations: 481.5 kB / 0.8382 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.5272, allocations: 0.5915 MB / 0.8388 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.5282, allocations: 464.6 kB / 0.8392 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.5283, allocations: 56 kB / 0.8393 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.5297, allocations: 0.834 MB / 0.8401 GB, free: 12.79 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.53, allocations: 243.4 kB / 0.8403 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.5304, allocations: 330.6 kB / 0.8406 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.5318, allocations: 1.149 MB / 0.8418 GB, free: 11.07 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5318, allocations: 0 / 0.8418 GB, free: 11.07 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5318, allocations: 0 / 0.8418 GB, free: 11.07 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.5318, allocations: 0 / 0.8418 GB, free: 11.07 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001371/0.5332, allocations: 0.9301 MB / 0.8427 GB, free: 10.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.5333, allocations: 12.03 kB / 0.8427 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.5334, allocations: 86.52 kB / 0.8428 GB, free: 9.988 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.5346, allocations: 167.4 kB / 0.8429 GB, free: 9.824 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008028/0.5354, allocations: 0.5367 MB / 0.8434 GB, free: 9.25 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.5354, allocations: 37 kB / 0.8435 GB, free: 9.215 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.5355, allocations: 40 kB / 0.8435 GB, free: 9.176 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.5363, allocations: 474.4 kB / 0.844 GB, free: 8.707 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5363, allocations: 3.938 kB / 0.844 GB, free: 8.703 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.5363, allocations: 20 kB / 0.844 GB, free: 8.684 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.5364, allocations: 13 kB / 0.844 GB, free: 8.672 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.537, allocations: 407.8 kB / 0.8444 GB, free: 8.273 MB / 0.67 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.002369/0.5394, allocations: 1.732 MB / 0.8461 GB, free: 6.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.5398, allocations: 304.2 kB / 0.8464 GB, free: 6.105 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.5401, allocations: 185.2 kB / 0.8465 GB, free: 5.922 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.5402, allocations: 97.09 kB / 0.8466 GB, free: 5.809 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.5403, allocations: 42.55 kB / 0.8467 GB, free: 5.758 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.5403, allocations: 0 / 0.8467 GB, free: 5.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.001843/0.5421, allocations: 1.066 MB / 0.8477 GB, free: 4.641 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.5422, allocations: 55.41 kB / 0.8478 GB, free: 4.574 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.5426, allocations: 453.9 kB / 0.8482 GB, free: 4.117 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.5427, allocations: 33.7 kB / 0.8482 GB, free: 4.078 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.5428, allocations: 256.4 kB / 0.8485 GB, free: 3.824 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.5429, allocations: 126.9 kB / 0.8486 GB, free: 3.699 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5431, allocations: 69.64 kB / 0.8487 GB, free: 3.625 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5432, allocations: 358.7 kB / 0.849 GB, free: 3.266 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.5434, allocations: 123.9 kB / 0.8491 GB, free: 3.145 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.5436, allocations: 198.7 kB / 0.8493 GB, free: 2.926 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.5454, allocations: 0.8524 MB / 0.8502 GB, free: 2.039 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5454, allocations: 0 / 0.8502 GB, free: 2.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005793/0.546, allocations: 425.8 kB / 0.8506 GB, free: 1.617 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.546, allocations: 10.19 kB / 0.8506 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5461, allocations: 4.188 kB / 0.8506 GB, free: 1.605 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5461, allocations: 4 kB / 0.8506 GB, free: 1.602 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.5464, allocations: 71.91 kB / 0.8506 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5464, allocations: 4 kB / 0.8506 GB, free: 1.527 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.5468, allocations: 12 kB / 0.8507 GB, free: 1.516 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.5468, allocations: 20.03 kB / 0.8507 GB, free: 1.496 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002207/0.5471, allocations: 213.7 kB / 0.8509 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.5472, allocations: 51.72 kB / 0.8509 GB, free: 1.227 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.5473, allocations: 56.77 kB / 0.851 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5473, allocations: 7.984 kB / 0.851 GB, free: 1.164 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5473, allocations: 3.938 kB / 0.851 GB, free: 1.16 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004608/0.5478, allocations: 413 kB / 0.8514 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.5494, allocations: 1.249 MB / 0.8526 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5495, allocations: 4 kB / 0.8526 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.5498, allocations: 79.83 kB / 0.8527 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.5498, allocations: 4 kB / 0.8527 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.5499, allocations: 16 kB / 0.8527 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.5499, allocations: 8 kB / 0.8527 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5499, allocations: 4 kB / 0.8527 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007994/0.5507, allocations: 0.7309 MB / 0.8534 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.5509, allocations: 168.8 kB / 0.8536 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.551, allocations: 19.98 kB / 0.8536 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.5514, allocations: 17.56 kB / 0.8536 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.5515, allocations: 35.84 kB / 0.8537 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.5515, allocations: 19.98 kB / 0.8537 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000326/0.5519, allocations: 331 kB / 0.854 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5519, allocations: 0 / 0.854 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005151/0.5524, allocations: 143.9 kB / 0.8541 GB, free: 13.72 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[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 (33): * Single equations (assignments): 33 * 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.001258/0.5537, allocations: 1.317 MB / 0.8554 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.5542, allocations: 328.4 kB / 0.8557 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5542, allocations: 4 kB / 0.8557 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.5544, allocations: 160.5 kB / 0.8559 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.5561, allocations: 376.5 kB / 0.8563 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.5609, allocations: 4.407 MB / 0.8606 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.5613, allocations: 0.8823 MB / 0.8614 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004039/0.5617, allocations: 132.6 kB / 0.8615 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.5619, allocations: 167.4 kB / 0.8617 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of SimCode: time 2.3e-07/0.5619, allocations: 0 / 0.8617 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3008/0.8627, allocations: 15.51 MB / 0.8769 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.624, allocations: 9.328 kB / 0.8769 GB, free: 189.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_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_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)