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.001348/0.001348, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001593/0.001593, allocations: 216.3 kB / 23.01 MB, free: 4.566 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 8.246 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.002676/0.002676, allocations: 286.2 kB / 313.5 MB, free: 2.875 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.236/1.236, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [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.002794/0.002794, allocations: 102.4 kB / 0.7408 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1666, allocations: 95.38 MB / 0.8339 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6019/0.7685, allocations: 174.7 MB / 1.004 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006528/0.7751, allocations: 4.32 MB / 1.009 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009325/0.776, allocations: 35.22 kB / 1.009 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.777, allocations: 366 kB / 1.009 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.7798, allocations: 1.05 MB / 1.01 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.7823, allocations: 0.8441 MB / 1.011 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.7846, allocations: 1.316 MB / 1.012 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006811/0.7853, allocations: 377.3 kB / 1.013 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.7867, allocations: 0.7113 MB / 1.013 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.7879, allocations: 484.8 kB / 1.014 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/0.788, allocations: 53 kB / 1.014 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.7897, allocations: 0.9534 MB / 1.015 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.7899, allocations: 221.6 kB / 1.015 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.7903, allocations: 328.7 kB / 1.015 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.7919, allocations: 1.141 MB / 1.016 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7919, allocations: 0 / 1.016 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7919, allocations: 1 kB / 1.016 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.7919, allocations: 1.062 kB / 1.016 GB, free: 3.438 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.001641/0.7935, allocations: 0.8938 MB / 1.017 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.7936, allocations: 10.62 kB / 1.017 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.7952, allocations: 265.3 kB / 1.018 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.796, allocations: 429.5 kB / 1.018 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.7961, allocations: 39.2 kB / 1.018 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.7961, allocations: 41 kB / 1.018 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.7972, allocations: 0.6117 MB / 1.019 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.7973, allocations: 7.219 kB / 1.019 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.7973, allocations: 19.19 kB / 1.019 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.7974, allocations: 21.06 kB / 1.019 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.7985, allocations: 0.5506 MB / 1.019 GB, free: 18.6 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.003577/0.8021, allocations: 2.226 MB / 1.021 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.8029, allocations: 272.6 kB / 1.022 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.8033, allocations: 168.2 kB / 1.022 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.8034, allocations: 4.781 kB / 1.022 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.8034, allocations: 43.53 kB / 1.022 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.8034, allocations: 1.938 kB / 1.022 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.004745/0.8082, allocations: 1.01 MB / 1.023 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.8082, allocations: 79.58 kB / 1.023 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.8089, allocations: 0.5524 MB / 1.023 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.8089, allocations: 32.92 kB / 1.023 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.8091, allocations: 304.1 kB / 1.024 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.8092, allocations: 40.02 kB / 1.024 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.8093, allocations: 59.77 kB / 1.024 GB, free: 17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8094, allocations: 365.5 kB / 1.024 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.8099, allocations: 189.9 kB / 1.024 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.8105, allocations: 266.6 kB / 1.025 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.8114, allocations: 410.1 kB / 1.025 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8114, allocations: 0.9375 kB / 1.025 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00235/0.8138, allocations: 0.7286 MB / 1.026 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8138, allocations: 4.781 kB / 1.026 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.8138, allocations: 6.281 kB / 1.026 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.8144, allocations: 186.6 kB / 1.026 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.8147, allocations: 68.36 kB / 1.026 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.8183, allocations: 2.129 MB / 1.028 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/0.8189, allocations: 76.17 kB / 1.028 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.8189, allocations: 10.97 kB / 1.028 GB, free: 15.16 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.000306/0.8192, allocations: 191.4 kB / 1.028 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.8193, allocations: 54.3 kB / 1.028 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.243e-05/0.8194, allocations: 53.59 kB / 1.028 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.8194, allocations: 3.938 kB / 1.028 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.8194, allocations: 0 / 1.028 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.8194, allocations: 1.094 kB / 1.028 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.8221, allocations: 1.114 MB / 1.03 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8221, allocations: 0.9375 kB / 1.03 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.8223, allocations: 41.22 kB / 1.03 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/0.8228, allocations: 184.3 kB / 1.03 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.8228, allocations: 6.188 kB / 1.03 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/0.826, allocations: 2.09 MB / 1.032 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.826, allocations: 0 / 1.032 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.8283, allocations: 0.7037 MB / 1.032 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.8285, allocations: 95.25 kB / 1.033 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.8286, allocations: 4 kB / 1.033 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.8291, allocations: 49.97 kB / 1.033 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.8292, allocations: 22.11 kB / 1.033 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.8292, allocations: 15.16 kB / 1.033 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004039/0.8296, allocations: 394.1 kB / 1.033 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8296, allocations: 0 / 1.033 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006015/0.8302, allocations: 177.7 kB / 1.033 GB, free: 13.1 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.0002819/0.8305, allocations: 160 kB / 1.033 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.8319, allocations: 0.5177 MB / 1.034 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8319, allocations: 3.188 kB / 1.034 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.8325, allocations: 296.4 kB / 1.034 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.8337, allocations: 315.6 kB / 1.034 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.8365, allocations: 1.126 MB / 1.036 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.837, allocations: 0.8588 MB / 1.036 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.8371, allocations: 37.41 kB / 1.036 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.8371, allocations: 5.203 kB / 1.036 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.01353/0.8506, allocations: 11.15 MB / 1.047 GB, free: 8.82 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.079333664150909] Failed to read output from testmodel.py, exit status != 0: 0.8577263050246984 0.869804924 0.075076848 Calling exit ...