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.001295/0.001295, allocations: 106.8 kB / 16.41 MB, free: 6.035 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.001013/0.001013, allocations: 194.5 kB / 17.34 MB, free: 5.629 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.253/1.253, 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.7055/0.7055, allocations: 122.9 MB / 414.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 66.23 kB / 0.568 GB, free: 29.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 77.92 MB / 0.6441 GB, free: 9.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4828/0.6074, allocations: 190.6 MB / 0.8302 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008983/0.6164, allocations: 5.732 MB / 0.8358 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.6178, allocations: 41.47 kB / 0.8358 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.6193, allocations: 0.603 MB / 0.8364 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.6237, allocations: 1.907 MB / 0.8383 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.6265, allocations: 1.193 MB / 0.8394 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003349/0.6299, allocations: 2.963 MB / 0.8423 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.6311, allocations: 0.9419 MB / 0.8433 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.6328, allocations: 1.099 MB / 0.8443 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.6345, allocations: 0.923 MB / 0.8452 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.6347, allocations: 108.3 kB / 0.8453 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.6374, allocations: 1.441 MB / 0.8467 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004538/0.6378, allocations: 453.3 kB / 0.8472 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007279/0.6386, allocations: 0.6558 MB / 0.8478 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.6415, allocations: 2.14 MB / 0.8499 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6415, allocations: 0 / 0.8499 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6415, allocations: 0 / 0.8499 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.6415, allocations: 4 kB / 0.8499 GB, free: 8.18 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002391/0.6439, allocations: 1.547 MB / 0.8514 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.644, allocations: 13.92 kB / 0.8514 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.6441, allocations: 140 kB / 0.8516 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.6461, allocations: 318.7 kB / 0.8519 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.6475, allocations: 0.8637 MB / 0.8527 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.6476, allocations: 63.56 kB / 0.8528 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.6477, allocations: 83.44 kB / 0.8529 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6492, allocations: 0.9124 MB / 0.8537 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.6493, allocations: 7.938 kB / 0.8537 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.6494, allocations: 36 kB / 0.8538 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.6494, allocations: 30 kB / 0.8538 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.6508, allocations: 0.8276 MB / 0.8546 GB, free: 4.375 MB / 0.6075 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.005313/0.6561, allocations: 3.518 MB / 0.8581 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/0.6569, allocations: 0.5007 MB / 0.8585 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.6573, allocations: 294 kB / 0.8588 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.6575, allocations: 101.5 kB / 0.8589 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.6576, allocations: 51 kB / 0.859 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.023e-06/0.6576, allocations: 0 / 0.859 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.003982/0.6616, allocations: 1.936 MB / 0.8609 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.6616, allocations: 59.84 kB / 0.8609 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009616/0.6626, allocations: 0.8059 MB / 0.8617 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.6627, allocations: 37.7 kB / 0.8617 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.663, allocations: 480.2 kB / 0.8622 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.6632, allocations: 182.4 kB / 0.8624 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.6633, allocations: 118.3 kB / 0.8625 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6635, allocations: 329.9 kB / 0.8628 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.6639, allocations: 241.2 kB / 0.863 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.6644, allocations: 357.2 kB / 0.8634 GB, free: 10.98 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.003696/0.6681, allocations: 1.534 MB / 0.8649 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6681, allocations: 0 / 0.8649 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001362/0.6695, allocations: 0.7814 MB / 0.8656 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6695, allocations: 15.98 kB / 0.8656 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6695, allocations: 4 kB / 0.8657 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.6698, allocations: 93.59 kB / 0.8657 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.6705, allocations: 147.8 kB / 0.8659 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.6734, allocations: 3.299 MB / 0.8691 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/0.6743, allocations: 23.92 kB / 0.8691 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.6743, allocations: 31.94 kB / 0.8692 GB, free: 4.707 MB / 0.6231 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.000461/0.6748, allocations: 293.6 kB / 0.8694 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.675, allocations: 95.44 kB / 0.8695 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.6752, allocations: 104.7 kB / 0.8696 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6752, allocations: 8 kB / 0.8696 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6752, allocations: 3.938 kB / 0.8696 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.6762, allocations: 0.8427 MB / 0.8705 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.679, allocations: 1.795 MB / 0.8722 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.679, allocations: 0 / 0.8722 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006103/0.6797, allocations: 123.9 kB / 0.8723 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.6799, allocations: 73.11 kB / 0.8724 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.6799, allocations: 16 kB / 0.8724 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.6816, allocations: 1.785 MB / 0.8742 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6816, allocations: 7.938 kB / 0.8742 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.6832, allocations: 1.074 MB / 0.8752 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/0.6837, allocations: 248.3 kB / 0.8755 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.6838, allocations: 11.98 kB / 0.8755 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/0.6845, allocations: 30.05 kB / 0.8755 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.6846, allocations: 51.83 kB / 0.8755 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.6847, allocations: 27.98 kB / 0.8756 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007032/0.6854, allocations: 0.5654 MB / 0.8761 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6854, allocations: 0 / 0.8761 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008696/0.6863, allocations: 283.9 kB / 0.8764 GB, free: 12.88 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.002132/0.6884, allocations: 1.699 MB / 0.8781 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.6898, allocations: 0.8041 MB / 0.8788 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.6898, allocations: 4 kB / 0.8788 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.6904, allocations: 415.2 kB / 0.8792 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.6931, allocations: 0.6248 MB / 0.8798 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/0.7025, allocations: 6.997 MB / 0.8867 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.7032, allocations: 1.091 MB / 0.8877 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007964/0.704, allocations: 219.7 kB / 0.888 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/0.7044, allocations: 339.3 kB / 0.8883 GB, free: 304 kB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/0.7044, allocations: 0 / 0.8883 GB, free: 304 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05845/0.7629, allocations: 28 MB / 0.9156 GB, free: 4.699 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.58, allocations: 12 kB / 0.9156 GB, free: 4.688 MB / 0.67 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)