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.001243/0.001243, allocations: 103.6 kB / 16.45 MB, free: 6.449 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.001412/0.001412, allocations: 212 kB / 19.43 MB, free: 3.637 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.369/1.369, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002452/0.002452, allocations: 296.2 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 180.9 MB / 0.5333 GB, free: 13.84 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 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.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.002746/0.002746, allocations: 96.53 kB / 0.7342 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1672, allocations: 95.34 MB / 0.8273 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5672/0.7344, allocations: 174.5 MB / 0.9977 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005916/0.7403, allocations: 4.296 MB / 1.002 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007996/0.7411, allocations: 31.03 kB / 1.002 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.7421, allocations: 364.4 kB / 1.002 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.7444, allocations: 1.033 MB / 1.003 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.7467, allocations: 0.8269 MB / 1.004 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.7485, allocations: 1.297 MB / 1.005 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.7491, allocations: 402.7 kB / 1.006 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.7503, allocations: 0.7084 MB / 1.006 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009026/0.7512, allocations: 487.5 kB / 1.007 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.225e-05/0.7513, allocations: 51.91 kB / 1.007 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.7528, allocations: 0.9492 MB / 1.008 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.753, allocations: 216.2 kB / 1.008 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.7533, allocations: 331.4 kB / 1.008 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.7547, allocations: 1.138 MB / 1.009 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7547, allocations: 1.656 kB / 1.01 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7547, allocations: 4.969 kB / 1.01 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.7547, allocations: 0 / 1.01 GB, free: 2.984 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.001675/0.7564, allocations: 0.9719 MB / 1.01 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.7564, allocations: 9.25 kB / 1.01 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.607e-05/0.7565, allocations: 87.12 kB / 1.011 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.7581, allocations: 261.2 kB / 1.011 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.7588, allocations: 499.2 kB / 1.011 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.7589, allocations: 40.72 kB / 1.011 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.7589, allocations: 41.06 kB / 1.011 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.7601, allocations: 0.6132 MB / 1.012 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7601, allocations: 3.094 kB / 1.012 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.7602, allocations: 19.34 kB / 1.012 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.7602, allocations: 21.2 kB / 1.012 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.7615, allocations: 0.545 MB / 1.013 GB, free: 17.95 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.003792/0.7653, allocations: 2.274 MB / 1.015 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008663/0.7662, allocations: 275.4 kB / 1.015 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.7667, allocations: 164.6 kB / 1.015 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.7667, allocations: 0.9062 kB / 1.015 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.7668, allocations: 37.97 kB / 1.015 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.7668, allocations: 2.875 kB / 1.015 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.004924/0.7717, allocations: 1.096 MB / 1.016 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.7717, allocations: 78.05 kB / 1.016 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.7723, allocations: 0.5509 MB / 1.017 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.7723, allocations: 27.2 kB / 1.017 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.7725, allocations: 306.1 kB / 1.017 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.7726, allocations: 43.12 kB / 1.017 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.7727, allocations: 60.78 kB / 1.017 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7728, allocations: 362.1 kB / 1.018 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.7734, allocations: 185.2 kB / 1.018 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.774, allocations: 270 kB / 1.018 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.775, allocations: 405.9 kB / 1.018 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.775, allocations: 0.9375 kB / 1.018 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00244/0.7775, allocations: 0.7313 MB / 1.019 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7775, allocations: 8.406 kB / 1.019 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7775, allocations: 0.9688 kB / 1.019 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.7781, allocations: 186 kB / 1.019 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.7784, allocations: 71.17 kB / 1.019 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.7821, allocations: 2.246 MB / 1.022 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.7827, allocations: 77.08 kB / 1.022 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.7828, allocations: 12.09 kB / 1.022 GB, free: 14.25 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.0002372/0.783, allocations: 190.7 kB / 1.022 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.7831, allocations: 54.36 kB / 1.022 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.353e-05/0.7832, allocations: 48.91 kB / 1.022 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7832, allocations: 7.125 kB / 1.022 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.7832, allocations: 0 / 1.022 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7832, allocations: 2.906 kB / 1.022 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.786, allocations: 1.137 MB / 1.023 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.786, allocations: 2.906 kB / 1.023 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.7862, allocations: 45.28 kB / 1.023 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.7867, allocations: 179.3 kB / 1.023 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.7867, allocations: 13.89 kB / 1.023 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.7901, allocations: 2.177 MB / 1.025 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.7901, allocations: 0 / 1.025 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.7924, allocations: 0.7022 MB / 1.026 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.7926, allocations: 174.1 kB / 1.026 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.7927, allocations: 6.688 kB / 1.026 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.7932, allocations: 44.88 kB / 1.026 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.7933, allocations: 21.62 kB / 1.026 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.7933, allocations: 11.45 kB / 1.026 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003748/0.7937, allocations: 394.9 kB / 1.027 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7937, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006037/0.7943, allocations: 180.1 kB / 1.027 GB, free: 11.93 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.002798/0.7971, allocations: 1.302 MB / 1.028 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.7985, allocations: 0.5127 MB / 1.029 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7985, allocations: 4.219 kB / 1.029 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/0.7992, allocations: 301.2 kB / 1.029 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.8004, allocations: 307 kB / 1.029 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.8107, allocations: 5.081 MB / 1.034 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.8112, allocations: 0.8609 MB / 1.035 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003805/0.8115, allocations: 101.3 kB / 1.035 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.8117, allocations: 164.6 kB / 1.035 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8117, allocations: 4 kB / 1.035 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04769/0.8594, allocations: 17.01 MB / 1.052 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.67, allocations: 3.406 kB / 1.052 GB, free: 2.492 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.635259420145303] Failed to read output from testmodel.py, exit status != 0: 12.762130058836192 12.774033686 12.016638202 Calling exit ...