Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.00455/0.00455, allocations: 101.1 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.001235/0.001235, allocations: 187 kB / 16.67 MB, free: 5.922 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8239/0.8239, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 70.17 kB / 0.5809 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1474, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5443/0.6917, allocations: 181.8 MB / 0.8368 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00885/0.7006, allocations: 5.354 MB / 0.842 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.7018, allocations: 34 kB / 0.842 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.7031, allocations: 438.7 kB / 0.8425 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.7073, allocations: 1.67 MB / 0.8441 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.7094, allocations: 0.7996 MB / 0.8449 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003033/0.7124, allocations: 2.187 MB / 0.847 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.7134, allocations: 0.6883 MB / 0.8477 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.7147, allocations: 0.7371 MB / 0.8484 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.7163, allocations: 0.6815 MB / 0.8491 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.7164, allocations: 76.91 kB / 0.8491 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.7192, allocations: 1.401 MB / 0.8505 GB, free: 404 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.7195, allocations: 317.1 kB / 0.8508 GB, free: 184 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.7201, allocations: 470.3 kB / 0.8513 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.7225, allocations: 1.672 MB / 0.8529 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7225, allocations: 0 / 0.8529 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7225, allocations: 0 / 0.8529 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7225, allocations: 2.594 kB / 0.8529 GB, free: 14.81 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001814/0.7243, allocations: 1.212 MB / 0.8541 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.7244, allocations: 10.06 kB / 0.8541 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.7245, allocations: 104.7 kB / 0.8542 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.7262, allocations: 271.4 kB / 0.8544 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.7273, allocations: 0.7137 MB / 0.8551 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.7274, allocations: 39.5 kB / 0.8552 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.7275, allocations: 64.48 kB / 0.8552 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009822/0.7285, allocations: 0.5772 MB / 0.8558 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.7285, allocations: 0 / 0.8558 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.7286, allocations: 24.41 kB / 0.8558 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.7286, allocations: 26.03 kB / 0.8558 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009005/0.7295, allocations: 0.4931 MB / 0.8563 GB, free: 12.2 MB / 0.6231 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.003325/0.7329, allocations: 2.381 MB / 0.8587 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.7336, allocations: 427.4 kB / 0.8591 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.734, allocations: 224.7 kB / 0.8593 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.7342, allocations: 97.09 kB / 0.8594 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.7342, allocations: 39.28 kB / 0.8594 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.7342, allocations: 4 kB / 0.8594 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.002975/0.7372, allocations: 1.447 MB / 0.8608 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.7373, allocations: 59.78 kB / 0.8609 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/0.738, allocations: 0.5499 MB / 0.8614 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.738, allocations: 37.7 kB / 0.8615 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.7383, allocations: 325.2 kB / 0.8618 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.7385, allocations: 178.4 kB / 0.8619 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.7386, allocations: 90.25 kB / 0.862 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.7388, allocations: 366.8 kB / 0.8624 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.7392, allocations: 173 kB / 0.8625 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.7396, allocations: 264.8 kB / 0.8628 GB, free: 5.238 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: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/0.743, allocations: 1.427 MB / 0.8642 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7431, allocations: 4 kB / 0.8642 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000965/0.744, allocations: 0.5307 MB / 0.8647 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7441, allocations: 4 kB / 0.8647 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7441, allocations: 8.156 kB / 0.8647 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.7441, allocations: 4 kB / 0.8647 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.7445, allocations: 91.91 kB / 0.8648 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.7446, allocations: 7.922 kB / 0.8648 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.7452, allocations: 25.92 kB / 0.8648 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.7452, allocations: 12 kB / 0.8648 GB, free: 3.07 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003858/0.7456, allocations: 253.6 kB / 0.8651 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.7457, allocations: 75.58 kB / 0.8652 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.7459, allocations: 74.45 kB / 0.8652 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.7459, allocations: 8 kB / 0.8652 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.746, allocations: 7.922 kB / 0.8652 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007762/0.7467, allocations: 0.5067 MB / 0.8657 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.7493, allocations: 1.585 MB / 0.8673 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7493, allocations: 4 kB / 0.8673 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.7498, allocations: 111.9 kB / 0.8674 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.7498, allocations: 8.625 kB / 0.8674 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.7499, allocations: 19.98 kB / 0.8674 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/0.7499, allocations: 19.88 kB / 0.8674 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7499, allocations: 4 kB / 0.8675 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.7514, allocations: 0.9456 MB / 0.8684 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.7518, allocations: 200.6 kB / 0.8686 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.7519, allocations: 16 kB / 0.8686 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.7524, allocations: 28.06 kB / 0.8686 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/0.7525, allocations: 47.81 kB / 0.8687 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.7525, allocations: 20 kB / 0.8687 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004952/0.753, allocations: 398.8 kB / 0.8691 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.753, allocations: 0 / 0.8691 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006427/0.7537, allocations: 199.9 kB / 0.8692 GB, free: 14.31 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.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 (49): * Single equations (assignments): 49 * 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.002051/0.7557, allocations: 1.565 MB / 0.8708 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00082/0.7566, allocations: 445.5 kB / 0.8712 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7566, allocations: 8.062 kB / 0.8712 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.757, allocations: 231.6 kB / 0.8714 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.7591, allocations: 495 kB / 0.8719 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.7666, allocations: 5.487 MB / 0.8773 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.7673, allocations: 0.9729 MB / 0.8782 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005924/0.7679, allocations: 165.8 kB / 0.8784 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.7683, allocations: 255.4 kB / 0.8786 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.7683, allocations: 0 / 0.8786 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/0.8183, allocations: 20.38 MB / 0.8985 GB, free: 332 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/9.286, allocations: 17.11 kB / 0.8985 GB, free: 320 kB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_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_MixingVolumeAdiabaticCooling.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)