Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_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.00623/0.00623, allocations: 96.84 kB / 15.73 MB, free: 5.59 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.001579/0.001579, allocations: 197.1 kB / 16.67 MB, free: 5.523 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.847/0.847, allocations: 135.6 MB / 426.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.62 kB / 0.5857 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1602, allocations: 81.02 MB / 0.6649 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5322/0.6924, allocations: 181.9 MB / 0.8424 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008407/0.7009, allocations: 5.351 MB / 0.8477 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.7019, allocations: 34.22 kB / 0.8477 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.7031, allocations: 438.5 kB / 0.8481 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.7071, allocations: 1.67 MB / 0.8498 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.7091, allocations: 0.8108 MB / 0.8505 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002741/0.7118, allocations: 2.182 MB / 0.8527 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009132/0.7128, allocations: 0.6875 MB / 0.8533 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.7139, allocations: 0.7312 MB / 0.8541 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.7155, allocations: 0.6836 MB / 0.8547 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.7156, allocations: 79 kB / 0.8548 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.7182, allocations: 1.396 MB / 0.8562 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.7186, allocations: 314.9 kB / 0.8565 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005419/0.7191, allocations: 471.2 kB / 0.8569 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.7217, allocations: 1.668 MB / 0.8585 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7217, allocations: 0 / 0.8585 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7217, allocations: 0 / 0.8585 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.7218, allocations: 6.906 kB / 0.8586 GB, free: 8.285 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.001931/0.7237, allocations: 1.207 MB / 0.8597 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.7237, allocations: 13.11 kB / 0.8597 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.7239, allocations: 98.52 kB / 0.8598 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.7257, allocations: 276 kB / 0.8601 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.7268, allocations: 0.7183 MB / 0.8608 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.7269, allocations: 45.25 kB / 0.8608 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.853e-05/0.727, allocations: 63.95 kB / 0.8609 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.7281, allocations: 0.5843 MB / 0.8615 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.7281, allocations: 3.984 kB / 0.8615 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.7282, allocations: 20 kB / 0.8615 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.7282, allocations: 25.31 kB / 0.8615 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009345/0.7291, allocations: 0.4969 MB / 0.862 GB, free: 4.676 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.003277/0.7324, allocations: 2.373 MB / 0.8643 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.7332, allocations: 423.8 kB / 0.8647 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.7335, allocations: 212.8 kB / 0.8649 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.7337, allocations: 105 kB / 0.865 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.7338, allocations: 43.27 kB / 0.8651 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.083e-06/0.7338, allocations: 0 / 0.8651 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003022/0.7368, allocations: 1.446 MB / 0.8665 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.7369, allocations: 55.84 kB / 0.8665 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.7376, allocations: 0.5458 MB / 0.8671 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.7376, allocations: 37.7 kB / 0.8671 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.7379, allocations: 329.2 kB / 0.8674 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.7381, allocations: 186.4 kB / 0.8676 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.7382, allocations: 86.25 kB / 0.8677 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.7384, allocations: 370.8 kB / 0.868 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.7388, allocations: 173 kB / 0.8682 GB, free: 14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.7392, allocations: 261.6 kB / 0.8685 GB, free: 13.72 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: 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.003369/0.7426, allocations: 1.419 MB / 0.8698 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7426, allocations: 0 / 0.8698 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009332/0.7435, allocations: 0.5268 MB / 0.8704 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7436, allocations: 11.92 kB / 0.8704 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7436, allocations: 4 kB / 0.8704 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7436, allocations: 4 kB / 0.8704 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.744, allocations: 92.06 kB / 0.8705 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.744, allocations: 11.94 kB / 0.8705 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.7446, allocations: 25.59 kB / 0.8705 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.7447, allocations: 16 kB / 0.8705 GB, free: 11.55 MB / 0.6387 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.0003641/0.745, allocations: 247.9 kB / 0.8707 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.7452, allocations: 75.58 kB / 0.8708 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.7453, allocations: 82.39 kB / 0.8709 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7453, allocations: 4 kB / 0.8709 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.7454, allocations: 7.938 kB / 0.8709 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007638/0.7461, allocations: 0.5067 MB / 0.8714 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.7486, allocations: 1.579 MB / 0.8729 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7486, allocations: 4 kB / 0.8729 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.7492, allocations: 119.8 kB / 0.8731 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.7492, allocations: 8 kB / 0.8731 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.7492, allocations: 19.92 kB / 0.8731 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.7493, allocations: 11.94 kB / 0.8731 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7493, allocations: 4 kB / 0.8731 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.7506, allocations: 0.9501 MB / 0.874 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.7509, allocations: 204.7 kB / 0.8742 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.751, allocations: 19.94 kB / 0.8742 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.7516, allocations: 15.98 kB / 0.8743 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.7517, allocations: 47.84 kB / 0.8743 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.7517, allocations: 23.98 kB / 0.8743 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005077/0.7522, allocations: 398.8 kB / 0.8747 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7522, allocations: 0 / 0.8747 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006696/0.7529, allocations: 199.9 kB / 0.8749 GB, free: 6.809 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.001969/0.7549, allocations: 1.577 MB / 0.8764 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008432/0.7557, allocations: 441.2 kB / 0.8769 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7557, allocations: 0 / 0.8769 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.7561, allocations: 244.3 kB / 0.8771 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.7583, allocations: 0.4917 MB / 0.8776 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/0.7658, allocations: 5.481 MB / 0.8829 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.7664, allocations: 0.9807 MB / 0.8839 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005948/0.767, allocations: 157.9 kB / 0.884 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.7674, allocations: 251.4 kB / 0.8843 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/0.7674, allocations: 0 / 0.8843 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.8156, allocations: 20.41 MB / 0.9042 GB, free: 8.777 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.819/9.635, allocations: 1.625 kB / 0.9042 GB, free: 8.777 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)