Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.004126/0.00413, allocations: 102.5 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.001016/0.001016, allocations: 191.1 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 286.8 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8999/0.8999, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 96.17 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1516, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.49/0.6417, allocations: 190.6 MB / 0.952 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007972/0.6497, allocations: 5.732 MB / 0.9576 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008599/0.6506, allocations: 43.75 kB / 0.9577 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.6519, allocations: 0.602 MB / 0.9583 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.6556, allocations: 1.91 MB / 0.9601 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.658, allocations: 1.201 MB / 0.9613 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002757/0.6608, allocations: 2.951 MB / 0.9642 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.6618, allocations: 0.9449 MB / 0.9651 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.6633, allocations: 1.101 MB / 0.9662 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.6648, allocations: 0.9126 MB / 0.9671 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.6649, allocations: 108 kB / 0.9672 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.6674, allocations: 1.434 MB / 0.9686 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003969/0.6678, allocations: 462.8 kB / 0.969 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006126/0.6684, allocations: 0.6572 MB / 0.9697 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.6709, allocations: 2.143 MB / 0.9718 GB, free: 236 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6709, allocations: 0 / 0.9718 GB, free: 236 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6709, allocations: 0 / 0.9718 GB, free: 236 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6709, allocations: 4 kB / 0.9718 GB, free: 232 kB / 0.7169 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.002161/0.6731, allocations: 1.545 MB / 0.9733 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6731, allocations: 8.031 kB / 0.9733 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.6733, allocations: 143.2 kB / 0.9734 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.6752, allocations: 328.5 kB / 0.9737 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.6765, allocations: 0.8559 MB / 0.9746 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.6765, allocations: 70 kB / 0.9746 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.6767, allocations: 80 kB / 0.9747 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.6781, allocations: 0.9131 MB / 0.9756 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6781, allocations: 0 / 0.9756 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/0.6782, allocations: 32 kB / 0.9756 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.6783, allocations: 37.98 kB / 0.9757 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.6796, allocations: 0.8275 MB / 0.9765 GB, free: 11.29 MB / 0.7325 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.004753/0.6843, allocations: 3.53 MB / 0.9799 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.685, allocations: 0.4925 MB / 0.9804 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004112/0.6855, allocations: 290 kB / 0.9807 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.6856, allocations: 109.5 kB / 0.9808 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.6857, allocations: 39 kB / 0.9808 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.6857, allocations: 0 / 0.9808 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003521/0.6892, allocations: 1.94 MB / 0.9827 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.6893, allocations: 59.84 kB / 0.9828 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008459/0.6901, allocations: 0.8097 MB / 0.9836 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.6902, allocations: 37.7 kB / 0.9836 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.6905, allocations: 476.3 kB / 0.984 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.6906, allocations: 190.4 kB / 0.9842 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.6908, allocations: 110.3 kB / 0.9843 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.6909, allocations: 333.9 kB / 0.9847 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.6913, allocations: 237.2 kB / 0.9849 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.6918, allocations: 357.2 kB / 0.9852 GB, free: 1.887 MB / 0.7325 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.003429/0.6952, allocations: 1.535 MB / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6952, allocations: 0 / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001183/0.6964, allocations: 0.7892 MB / 0.9875 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6964, allocations: 8 kB / 0.9875 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6964, allocations: 4 kB / 0.9875 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.6967, allocations: 93.59 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.6973, allocations: 143.8 kB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.6999, allocations: 3.304 MB / 0.991 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007128/0.7006, allocations: 28.42 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.7007, allocations: 27.98 kB / 0.991 GB, free: 11.61 MB / 0.7481 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.00038/0.7011, allocations: 294.4 kB / 0.9913 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.7012, allocations: 107.5 kB / 0.9914 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.7014, allocations: 96.73 kB / 0.9915 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.7014, allocations: 4 kB / 0.9915 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.7014, allocations: 0.625 kB / 0.9915 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009522/0.7024, allocations: 0.8465 MB / 0.9923 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.7049, allocations: 1.807 MB / 0.9941 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7049, allocations: 0 / 0.9941 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.7055, allocations: 125 kB / 0.9942 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.7057, allocations: 73.2 kB / 0.9943 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.7058, allocations: 16 kB / 0.9943 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.7072, allocations: 1.786 MB / 0.996 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7072, allocations: 7.969 kB / 0.996 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.7086, allocations: 1.074 MB / 0.9971 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.709, allocations: 244.3 kB / 0.9973 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.7091, allocations: 12 kB / 0.9973 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/0.7098, allocations: 27.98 kB / 0.9974 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.7099, allocations: 55.88 kB / 0.9974 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.7099, allocations: 23.98 kB / 0.9974 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006068/0.7105, allocations: 0.5576 MB / 0.998 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7105, allocations: 0 / 0.998 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007443/0.7113, allocations: 283.9 kB / 0.9982 GB, free: 3.793 MB / 0.7481 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.001923/0.7132, allocations: 1.706 MB / 0.9999 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.7144, allocations: 0.8115 MB / 1.001 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7144, allocations: 0 / 1.001 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.7149, allocations: 423.7 kB / 1.001 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.7173, allocations: 0.6082 MB / 1.002 GB, free: 172 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.7255, allocations: 6.992 MB / 1.009 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.7261, allocations: 1.087 MB / 1.01 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006522/0.7268, allocations: 211.7 kB / 1.01 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.7272, allocations: 351.3 kB / 1.01 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of SimCode: time 3.3e-07/0.7272, allocations: 4 kB / 1.01 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05645/0.7836, allocations: 28.03 MB / 1.038 GB, free: 11.71 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.33, allocations: 18.61 kB / 1.038 GB, free: 11.7 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)