Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001302/0.001302, allocations: 103.3 kB / 16.39 MB, free: 6.371 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.00125/0.00125, allocations: 198.4 kB / 17.33 MB, free: 5.844 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7959/0.7959, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 72.03 kB / 0.5736 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1563, allocations: 78.87 MB / 0.6506 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5248/0.6811, allocations: 190.6 MB / 0.8367 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009577/0.6907, allocations: 5.741 MB / 0.8423 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.6921, allocations: 39.34 kB / 0.8424 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.6938, allocations: 0.5812 MB / 0.8429 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.6989, allocations: 1.843 MB / 0.8447 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.702, allocations: 1.199 MB / 0.8459 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003865/0.7059, allocations: 2.949 MB / 0.8488 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.7071, allocations: 0.9469 MB / 0.8497 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.7093, allocations: 1.228 MB / 0.8509 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.7111, allocations: 0.8999 MB / 0.8518 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.7113, allocations: 108.5 kB / 0.8519 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.7139, allocations: 1.421 MB / 0.8533 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.7144, allocations: 458.5 kB / 0.8537 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007151/0.7151, allocations: 0.654 MB / 0.8544 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.718, allocations: 2.154 MB / 0.8565 GB, free: 360 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.718, allocations: 0 / 0.8565 GB, free: 360 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.718, allocations: 0 / 0.8565 GB, free: 360 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.718, allocations: 4 kB / 0.8565 GB, free: 356 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002517/0.7206, allocations: 1.545 MB / 0.858 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7206, allocations: 8.031 kB / 0.858 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.7208, allocations: 139.2 kB / 0.8581 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.7227, allocations: 327 kB / 0.8584 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.7241, allocations: 0.8637 MB / 0.8593 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.7242, allocations: 65.94 kB / 0.8593 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.7244, allocations: 87.94 kB / 0.8594 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.726, allocations: 0.9092 MB / 0.8603 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.726, allocations: 0 / 0.8603 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-05/0.7261, allocations: 36 kB / 0.8603 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/0.7261, allocations: 30 kB / 0.8604 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.7276, allocations: 0.8276 MB / 0.8612 GB, free: 11.41 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.005381/0.733, allocations: 3.527 MB / 0.8646 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/0.7339, allocations: 0.4887 MB / 0.8651 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.7343, allocations: 298 kB / 0.8654 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.7345, allocations: 101.5 kB / 0.8655 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.7346, allocations: 46.94 kB / 0.8655 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.7346, allocations: 0 / 0.8655 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.004081/0.7387, allocations: 1.944 MB / 0.8674 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.7388, allocations: 55.84 kB / 0.8675 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.7398, allocations: 0.802 MB / 0.8683 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.7398, allocations: 37.7 kB / 0.8683 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.7402, allocations: 484.2 kB / 0.8688 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.7404, allocations: 182.4 kB / 0.8689 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.7406, allocations: 114.3 kB / 0.869 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7408, allocations: 326 kB / 0.8694 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.7412, allocations: 245.2 kB / 0.8696 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.7418, allocations: 361.2 kB / 0.8699 GB, free: 2 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.003805/0.7456, allocations: 1.526 MB / 0.8714 GB, free: 428 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7456, allocations: 0 / 0.8714 GB, free: 428 kB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001399/0.747, allocations: 0.7851 MB / 0.8722 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7471, allocations: 8.328 kB / 0.8722 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.7471, allocations: 8 kB / 0.8722 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.7474, allocations: 93.66 kB / 0.8723 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.748, allocations: 143.8 kB / 0.8724 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.7514, allocations: 3.301 MB / 0.8757 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.7522, allocations: 27.94 kB / 0.8757 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.7523, allocations: 23.94 kB / 0.8757 GB, free: 11.73 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005219/0.7528, allocations: 302.5 kB / 0.876 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.753, allocations: 91.44 kB / 0.8761 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.7532, allocations: 100.7 kB / 0.8762 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.7532, allocations: 11.94 kB / 0.8762 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7532, allocations: 4 kB / 0.8762 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.7544, allocations: 0.8388 MB / 0.877 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.7573, allocations: 1.798 MB / 0.8788 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.7574, allocations: 7.938 kB / 0.8788 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.758, allocations: 119.9 kB / 0.8789 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.7582, allocations: 73.14 kB / 0.879 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.7583, allocations: 20 kB / 0.879 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.76, allocations: 1.781 MB / 0.8807 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7601, allocations: 1.562 kB / 0.8807 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.7618, allocations: 1.085 MB / 0.8818 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.7622, allocations: 240.5 kB / 0.882 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7623, allocations: 15.98 kB / 0.882 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.763, allocations: 29.81 kB / 0.8821 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.7631, allocations: 51.75 kB / 0.8821 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.7632, allocations: 32.17 kB / 0.8821 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007577/0.7639, allocations: 0.5576 MB / 0.8827 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7639, allocations: 0 / 0.8827 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008618/0.7648, allocations: 283.9 kB / 0.8829 GB, free: 3.898 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 (45): * Single equations (assignments): 44 * 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.002292/0.7671, allocations: 1.71 MB / 0.8846 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.7685, allocations: 0.804 MB / 0.8854 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7686, allocations: 0 / 0.8854 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006399/0.7692, allocations: 419.8 kB / 0.8858 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.772, allocations: 0.6085 MB / 0.8864 GB, free: 292 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.7822, allocations: 7.006 MB / 0.8932 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.783, allocations: 1.087 MB / 0.8943 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008044/0.7838, allocations: 211.7 kB / 0.8945 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.7843, allocations: 339.3 kB / 0.8948 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of SimCode: time 6.32e-07/0.7843, allocations: 4 kB / 0.8948 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0654/0.8498, allocations: 28.01 MB / 0.9222 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.45, allocations: 15.58 kB / 0.9222 GB, free: 11.71 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)