Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001254/0.001255, allocations: 107.1 kB / 16.41 MB, free: 6.488 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.001171/0.001171, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8015/0.8015, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 69.56 kB / 0.5736 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1311, allocations: 78.87 MB / 0.6506 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4866/0.6177, allocations: 190.6 MB / 0.8368 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.6278, allocations: 5.746 MB / 0.8424 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.629, allocations: 36.66 kB / 0.8424 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.6304, allocations: 0.5799 MB / 0.843 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.6341, allocations: 1.618 MB / 0.8446 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.6369, allocations: 1.224 MB / 0.8458 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00273/0.6397, allocations: 2.559 MB / 0.8483 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.6407, allocations: 0.8739 MB / 0.8491 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.6426, allocations: 1.202 MB / 0.8503 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.6441, allocations: 0.8005 MB / 0.8511 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.6443, allocations: 95.84 kB / 0.8512 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.6467, allocations: 1.528 MB / 0.8526 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.6471, allocations: 404.5 kB / 0.853 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.6477, allocations: 0.5896 MB / 0.8536 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.6502, allocations: 2.025 MB / 0.8556 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6502, allocations: 0 / 0.8556 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6502, allocations: 0 / 0.8556 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.6502, allocations: 4 kB / 0.8556 GB, free: 1.062 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002327/0.6525, allocations: 1.468 MB / 0.857 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6526, allocations: 8.625 kB / 0.857 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.6528, allocations: 132.2 kB / 0.8572 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.6554, allocations: 418.8 kB / 0.8576 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.6568, allocations: 0.8123 MB / 0.8583 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.6569, allocations: 54 kB / 0.8584 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.657, allocations: 83.92 kB / 0.8585 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.6589, allocations: 0.9789 MB / 0.8594 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6589, allocations: 0 / 0.8594 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.659, allocations: 36 kB / 0.8595 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.6591, allocations: 26 kB / 0.8595 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.6612, allocations: 0.8743 MB / 0.8604 GB, free: 12.26 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.005949/0.6671, allocations: 3.494 MB / 0.8638 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.6688, allocations: 0.6093 MB / 0.8644 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008093/0.6696, allocations: 326.2 kB / 0.8647 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.6698, allocations: 105.4 kB / 0.8648 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.6699, allocations: 47.14 kB / 0.8648 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.483e-06/0.6699, allocations: 0 / 0.8648 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.008033/0.6779, allocations: 2.399 MB / 0.8672 GB, free: 5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.678, allocations: 55.41 kB / 0.8672 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.679, allocations: 0.7979 MB / 0.868 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.6791, allocations: 37.7 kB / 0.868 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.6795, allocations: 456.5 kB / 0.8685 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.6796, allocations: 150.7 kB / 0.8686 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.6798, allocations: 106.1 kB / 0.8687 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.68, allocations: 338 kB / 0.869 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008214/0.6808, allocations: 296.9 kB / 0.8693 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.6817, allocations: 408.1 kB / 0.8697 GB, free: 2.316 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.00554/0.6873, allocations: 1.879 MB / 0.8715 GB, free: 388 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.6873, allocations: 0 / 0.8715 GB, free: 388 kB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003259/0.6906, allocations: 1.051 MB / 0.8726 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6906, allocations: 4 kB / 0.8726 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6906, allocations: 4 kB / 0.8726 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.6912, allocations: 193.4 kB / 0.8728 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.6919, allocations: 143.8 kB / 0.8729 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.6962, allocations: 2.231 MB / 0.8751 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008416/0.6971, allocations: 52.02 kB / 0.8751 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.6972, allocations: 20 kB / 0.8751 GB, free: 12.52 MB / 0.6387 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004461/0.6976, allocations: 277.5 kB / 0.8754 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.6978, allocations: 95.42 kB / 0.8755 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.698, allocations: 96.25 kB / 0.8756 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.698, allocations: 4 kB / 0.8756 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.698, allocations: 3.984 kB / 0.8756 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002926/0.7009, allocations: 0.895 MB / 0.8765 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005299/0.7062, allocations: 2.092 MB / 0.8785 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7062, allocations: 4 kB / 0.8785 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.7069, allocations: 128.2 kB / 0.8786 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005847/0.7075, allocations: 192.6 kB / 0.8788 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.7076, allocations: 16.06 kB / 0.8788 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003903/0.7115, allocations: 2.195 MB / 0.881 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.7115, allocations: 7.938 kB / 0.881 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.7154, allocations: 1.433 MB / 0.8824 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.7158, allocations: 236.5 kB / 0.8826 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.7159, allocations: 12 kB / 0.8826 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008109/0.7168, allocations: 68.22 kB / 0.8827 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.7169, allocations: 39.83 kB / 0.8827 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.7169, allocations: 23.98 kB / 0.8827 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007577/0.7177, allocations: 0.5574 MB / 0.8833 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7177, allocations: 0 / 0.8833 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008523/0.7186, allocations: 283.9 kB / 0.8836 GB, free: 3.543 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004682/0.7233, allocations: 2.063 MB / 0.8856 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.7255, allocations: 0.7983 MB / 0.8864 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7255, allocations: 0.5 kB / 0.8864 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.7265, allocations: 459.1 kB / 0.8868 GB, free: 156 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.729, allocations: 0.5436 MB / 0.8873 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.7448, allocations: 7.699 MB / 0.8948 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/0.7456, allocations: 1.048 MB / 0.8959 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007676/0.7463, allocations: 203.1 kB / 0.8961 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.7468, allocations: 311.3 kB / 0.8964 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of SimCode: time 7.81e-07/0.7468, allocations: 0 / 0.8964 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06311/0.81, allocations: 27.81 MB / 0.9235 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.32, allocations: 8.359 kB / 0.9235 GB, free: 10.68 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)