Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.0009129/0.0009129, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009866/0.0009866, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9179/0.9179, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.938/1.938, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.704e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1444/0.1444, allocations: 148.3 MB / 0.9319 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004098/0.1485, allocations: 3.426 MB / 0.9352 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004249/0.149, allocations: 27.75 kB / 0.9352 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.1495, allocations: 178.7 kB / 0.9354 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.1509, allocations: 0.7963 MB / 0.9362 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1521, allocations: 0.7159 MB / 0.9369 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.1534, allocations: 1.313 MB / 0.9382 GB, free: 1.301 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005163/0.1539, allocations: 396.1 kB / 0.9386 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.1547, allocations: 0.6973 MB / 0.9392 GB, free: 216 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007423/0.1555, allocations: 436.3 kB / 0.9397 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.1556, allocations: 52 kB / 0.9397 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008331/0.1564, allocations: 0.6545 MB / 0.9403 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.1566, allocations: 235.3 kB / 0.9406 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.1568, allocations: 235.5 kB / 0.9408 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1578, allocations: 0.8879 MB / 0.9417 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1578, allocations: 0 / 0.9417 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1578, allocations: 0 / 0.9417 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1578, allocations: 0 / 0.9417 GB, free: 13.73 MB / 0.9011 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.001173/0.159, allocations: 0.9898 MB / 0.9426 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.159, allocations: 15.97 kB / 0.9426 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008255/0.1598, allocations: 268.1 kB / 0.9429 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.1604, allocations: 442 kB / 0.9433 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.1604, allocations: 41.11 kB / 0.9434 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.1605, allocations: 48 kB / 0.9434 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/0.1612, allocations: 0.7417 MB / 0.9441 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1612, allocations: 0 / 0.9441 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.1612, allocations: 24 kB / 0.9441 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.1613, allocations: 20.98 kB / 0.9442 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.1616, allocations: 205.8 kB / 0.9444 GB, free: 10.79 MB / 0.9011 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.001997/0.1636, allocations: 1.825 MB / 0.9461 GB, free: 8.887 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1639, allocations: 118.9 kB / 0.9463 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.693e-05/0.1639, allocations: 39.67 kB / 0.9463 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.164, allocations: 7.984 kB / 0.9463 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.164, allocations: 37.39 kB / 0.9463 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.164, allocations: 0 / 0.9463 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.001575/0.1656, allocations: 0.4965 MB / 0.9468 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1656, allocations: 81.33 kB / 0.9469 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1659, allocations: 434.5 kB / 0.9473 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1659, allocations: 29.7 kB / 0.9473 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.1661, allocations: 362.4 kB / 0.9477 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1661, allocations: 47.67 kB / 0.9477 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.1662, allocations: 71.25 kB / 0.9478 GB, free: 7.098 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1663, allocations: 0.5196 MB / 0.9483 GB, free: 6.566 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-05/0.1664, allocations: 39.97 kB / 0.9483 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1666, allocations: 178.2 kB / 0.9485 GB, free: 6.301 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1668, allocations: 182.5 kB / 0.9487 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1668, allocations: 0 / 0.9487 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007483/0.1675, allocations: 360.8 kB / 0.949 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1675, allocations: 8 kB / 0.949 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1675, allocations: 0 / 0.949 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.1683, allocations: 243.5 kB / 0.9493 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1684, allocations: 55.91 kB / 0.9493 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.1701, allocations: 2.061 MB / 0.9513 GB, free: 3.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.1703, allocations: 47.7 kB / 0.9514 GB, free: 3.188 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.1704, allocations: 11.98 kB / 0.9514 GB, free: 3.176 MB / 0.9011 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.0001244/0.1705, allocations: 168.5 kB / 0.9516 GB, free: 3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.1706, allocations: 51.77 kB / 0.9516 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.1706, allocations: 35.28 kB / 0.9516 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1706, allocations: 0 / 0.9516 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1706, allocations: 0 / 0.9516 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1706, allocations: 3.938 kB / 0.9516 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1716, allocations: 0.7224 MB / 0.9524 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1716, allocations: 192 / 0.9524 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.1717, allocations: 27.97 kB / 0.9524 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006222/0.1723, allocations: 239.5 kB / 0.9526 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1723, allocations: 11.98 kB / 0.9526 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.1736, allocations: 1.99 MB / 0.9546 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1736, allocations: 7.938 kB / 0.9546 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.1743, allocations: 442.8 kB / 0.955 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1744, allocations: 67.91 kB / 0.9551 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.1745, allocations: 11.98 kB / 0.9551 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1747, allocations: 34.2 kB / 0.9551 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1747, allocations: 11.98 kB / 0.9551 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.1748, allocations: 15.98 kB / 0.9551 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001819/0.1749, allocations: 279.1 kB / 0.9554 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1749, allocations: 0 / 0.9554 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000417/0.1754, allocations: 203.5 kB / 0.9556 GB, free: 14.66 MB / 0.9167 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.0002146/0.1756, allocations: 151.1 kB / 0.9557 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.176, allocations: 329.1 kB / 0.956 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.176, allocations: 4.562 kB / 0.9561 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.1762, allocations: 245.4 kB / 0.9563 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.1768, allocations: 213.2 kB / 0.9565 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1785, allocations: 0.8881 MB / 0.9574 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.343e-05/0.1786, allocations: 133.2 kB / 0.9575 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.1788, allocations: 71.22 kB / 0.9576 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.1788, allocations: 36.5 kB / 0.9576 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.1788, allocations: 0 / 0.9576 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.01152/0.1904, allocations: 9.566 MB / 0.9669 GB, free: 3.145 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.665095663163811]