Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.311/1.311, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002397/0.002397, allocations: 290.5 kB / 312.7 MB, free: 2.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.158/1.158, allocations: 180.6 MB / 0.5369 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 100.1 kB / 0.7396 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1574, allocations: 95.4 MB / 0.8327 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5737/0.7311, allocations: 174.7 MB / 1.003 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006278/0.7374, allocations: 4.33 MB / 1.008 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006879/0.7381, allocations: 31.75 kB / 1.008 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009813/0.7391, allocations: 365.5 kB / 1.008 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.7415, allocations: 1.046 MB / 1.009 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.7437, allocations: 0.8446 MB / 1.01 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.7456, allocations: 1.312 MB / 1.011 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.7462, allocations: 377.8 kB / 1.011 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.7474, allocations: 0.7092 MB / 1.012 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.7485, allocations: 485.7 kB / 1.013 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/0.7486, allocations: 51.53 kB / 1.013 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.7502, allocations: 0.9554 MB / 1.014 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.7504, allocations: 217.4 kB / 1.014 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.7507, allocations: 333.7 kB / 1.014 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.7522, allocations: 1.135 MB / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7522, allocations: 0 / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7522, allocations: 1.094 kB / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.7522, allocations: 0.7812 kB / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001619/0.7538, allocations: 0.8981 MB / 1.016 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.7539, allocations: 11.91 kB / 1.016 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.357e-05/0.7539, allocations: 89.72 kB / 1.016 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.7555, allocations: 262.2 kB / 1.016 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008259/0.7563, allocations: 438.1 kB / 1.017 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.7563, allocations: 35.42 kB / 1.017 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.7564, allocations: 41.94 kB / 1.017 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.7575, allocations: 0.6118 MB / 1.017 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7575, allocations: 1 kB / 1.017 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.7576, allocations: 19.72 kB / 1.017 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.7576, allocations: 24.8 kB / 1.017 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.7588, allocations: 0.5492 MB / 1.018 GB, free: 18.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.003476/0.7622, allocations: 2.223 MB / 1.02 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.763, allocations: 273.3 kB / 1.02 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004838/0.7635, allocations: 166.7 kB / 1.021 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.7635, allocations: 2 kB / 1.021 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.7636, allocations: 49.11 kB / 1.021 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.7636, allocations: 0 / 1.021 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.00457/0.7681, allocations: 1.012 MB / 1.022 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.7682, allocations: 79.61 kB / 1.022 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.7687, allocations: 0.5511 MB / 1.022 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.7688, allocations: 29.14 kB / 1.022 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.7689, allocations: 306.6 kB / 1.023 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.769, allocations: 44.75 kB / 1.023 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.7691, allocations: 59.58 kB / 1.023 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7692, allocations: 367.1 kB / 1.023 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.7697, allocations: 186.6 kB / 1.023 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.7703, allocations: 266.1 kB / 1.023 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009291/0.7712, allocations: 410.1 kB / 1.024 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7712, allocations: 0 / 1.024 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002233/0.7734, allocations: 0.7278 MB / 1.025 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7734, allocations: 7.531 kB / 1.025 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.7734, allocations: 2.125 kB / 1.025 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.774, allocations: 182 kB / 1.025 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.7743, allocations: 66.83 kB / 1.025 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003673/0.778, allocations: 2.139 MB / 1.027 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.7785, allocations: 78.84 kB / 1.027 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.7785, allocations: 15.02 kB / 1.027 GB, free: 14.85 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0002296/0.7788, allocations: 193.2 kB / 1.027 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.7789, allocations: 52.55 kB / 1.027 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.865e-05/0.7789, allocations: 52.77 kB / 1.027 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7789, allocations: 6.5 kB / 1.027 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7789, allocations: 4.688 kB / 1.027 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7789, allocations: 0 / 1.027 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.7816, allocations: 1.105 MB / 1.028 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7816, allocations: 0.9375 kB / 1.028 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.7818, allocations: 40.91 kB / 1.028 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/0.7822, allocations: 183.3 kB / 1.029 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.7822, allocations: 2.406 kB / 1.029 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.7854, allocations: 2.093 MB / 1.031 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7854, allocations: 2.5 kB / 1.031 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.7875, allocations: 0.7 MB / 1.031 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.7877, allocations: 93.28 kB / 1.031 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.7878, allocations: 6.594 kB / 1.031 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.7883, allocations: 48.53 kB / 1.031 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.7884, allocations: 21.17 kB / 1.031 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.7884, allocations: 12.48 kB / 1.032 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004049/0.7888, allocations: 394 kB / 1.032 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7888, allocations: 0 / 1.032 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006216/0.7895, allocations: 180.9 kB / 1.032 GB, free: 12.79 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.002658/0.7921, allocations: 1.315 MB / 1.033 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.7935, allocations: 0.5101 MB / 1.034 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.7935, allocations: 7.281 kB / 1.034 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000606/0.7941, allocations: 293.4 kB / 1.034 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.7953, allocations: 306.9 kB / 1.034 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009578/0.8049, allocations: 5.085 MB / 1.039 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.8054, allocations: 0.8575 MB / 1.04 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004368/0.8058, allocations: 103.7 kB / 1.04 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.806, allocations: 161 kB / 1.04 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of SimCode: time 2.063e-06/0.806, allocations: 4 kB / 1.04 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.8564, allocations: 17.18 MB / 1.057 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.86, allocations: 13.97 kB / 1.057 GB, free: 3.113 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.790308059997187] Failed to read output from testmodel.py, exit status != 0: 12.984761673997127 12.997895031 12.242857305 Calling exit ...