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.001182/0.001182, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001314/0.001314, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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.002379/0.002379, allocations: 286.7 kB / 313.5 MB, free: 2.789 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.142/1.142, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",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.002731/0.002731, allocations: 101.7 kB / 0.7403 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1675, allocations: 95.39 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5887/0.7563, allocations: 174.6 MB / 1.004 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008475/0.7648, allocations: 4.334 MB / 1.008 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.7659, allocations: 27.66 kB / 1.008 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.7669, allocations: 365 kB / 1.009 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002765/0.7697, allocations: 1.046 MB / 1.01 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.7721, allocations: 0.8454 MB / 1.01 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.7745, allocations: 1.317 MB / 1.012 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000795/0.7753, allocations: 379.7 kB / 1.012 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.777, allocations: 0.707 MB / 1.013 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.7785, allocations: 490.7 kB / 1.013 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.7787, allocations: 51.28 kB / 1.013 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.7809, allocations: 0.9542 MB / 1.014 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.7812, allocations: 223.4 kB / 1.014 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007626/0.782, allocations: 331.8 kB / 1.015 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.7843, allocations: 1.142 MB / 1.016 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7843, allocations: 0 / 1.016 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7843, allocations: 0.9375 kB / 1.016 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.751e-05/0.7843, allocations: 0 / 1.016 GB, free: 3.164 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.002151/0.7865, allocations: 0.8899 MB / 1.017 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7865, allocations: 11.19 kB / 1.017 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.353e-05/0.7866, allocations: 15.81 kB / 1.017 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.782e-05/0.7866, allocations: 86.25 kB / 1.017 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.7882, allocations: 261.9 kB / 1.017 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.789, allocations: 433.6 kB / 1.018 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.7891, allocations: 37.28 kB / 1.018 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.7891, allocations: 40.53 kB / 1.018 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.7903, allocations: 0.616 MB / 1.018 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.7903, allocations: 0 / 1.018 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.7904, allocations: 19.69 kB / 1.018 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.7904, allocations: 21.19 kB / 1.018 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.7917, allocations: 0.5496 MB / 1.019 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.003751/0.7954, allocations: 2.225 MB / 1.021 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.7963, allocations: 279.2 kB / 1.021 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.7968, allocations: 164.4 kB / 1.021 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.7968, allocations: 0 / 1.021 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.7969, allocations: 38.56 kB / 1.021 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.7969, allocations: 0.8438 kB / 1.021 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.00489/0.8018, allocations: 1.013 MB / 1.022 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.8018, allocations: 86.72 kB / 1.023 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/0.8024, allocations: 0.5495 MB / 1.023 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.8025, allocations: 27.77 kB / 1.023 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.8026, allocations: 309.5 kB / 1.023 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.8027, allocations: 44.23 kB / 1.023 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.8028, allocations: 60.78 kB / 1.023 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.803, allocations: 360.9 kB / 1.024 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.8035, allocations: 189 kB / 1.024 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.8041, allocations: 269.8 kB / 1.024 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.8051, allocations: 402.7 kB / 1.025 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8051, allocations: 1.062 kB / 1.025 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002396/0.8075, allocations: 0.732 MB / 1.025 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.8075, allocations: 7.25 kB / 1.025 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.8075, allocations: 3.828 kB / 1.025 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.8081, allocations: 186.8 kB / 1.026 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.8084, allocations: 70.89 kB / 1.026 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/0.812, allocations: 2.129 MB / 1.028 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.8127, allocations: 84.41 kB / 1.028 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.8127, allocations: 7.125 kB / 1.028 GB, free: 14.84 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.0002839/0.813, allocations: 193.6 kB / 1.028 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.8131, allocations: 53.89 kB / 1.028 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.8131, allocations: 54.48 kB / 1.028 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.8131, allocations: 3.938 kB / 1.028 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.8131, allocations: 4.578 kB / 1.028 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8131, allocations: 0 / 1.028 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.8159, allocations: 1.103 MB / 1.029 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.8159, allocations: 0.875 kB / 1.029 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.8161, allocations: 41.48 kB / 1.029 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/0.8166, allocations: 179.8 kB / 1.029 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.8166, allocations: 7.656 kB / 1.029 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.8198, allocations: 2.098 MB / 1.031 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8198, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.8221, allocations: 0.703 MB / 1.032 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.8223, allocations: 91.56 kB / 1.032 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.8224, allocations: 2.578 kB / 1.032 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.823, allocations: 50.83 kB / 1.032 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.823, allocations: 16.77 kB / 1.032 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.8231, allocations: 9.734 kB / 1.032 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003977/0.8235, allocations: 402.8 kB / 1.033 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8235, allocations: 0 / 1.033 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005966/0.8241, allocations: 181.8 kB / 1.033 GB, free: 12.78 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.002758/0.8268, allocations: 1.306 MB / 1.034 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.8283, allocations: 0.5144 MB / 1.035 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8283, allocations: 0 / 1.035 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006498/0.8289, allocations: 304.5 kB / 1.035 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.8302, allocations: 305.2 kB / 1.035 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009848/0.8401, allocations: 5.081 MB / 1.04 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.8405, allocations: 0.8617 MB / 1.041 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004284/0.8409, allocations: 111.5 kB / 1.041 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.8411, allocations: 160.7 kB / 1.041 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.8411, allocations: 0 / 1.041 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.8886, allocations: 17.21 MB / 1.058 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.52, allocations: 9.438 kB / 1.058 GB, free: 3.07 MB / 0.7325 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.542088282993063] Failed to read output from testmodel.py, exit status != 0: 13.696844662015792 13.719724895 12.930469863 Calling exit ...