Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001245/0.001245, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001029/0.001029, allocations: 165.4 kB / 24.87 MB, free: 9.27 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.9667/0.9667, allocations: 177.2 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.462e-05, allocations: 3.078 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1193/0.1193, allocations: 145.5 MB / 0.9549 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003503/0.1228, allocations: 3.408 MB / 0.9582 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.1231, allocations: 31.75 kB / 0.9583 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.1236, allocations: 178.6 kB / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.1249, allocations: 0.8003 MB / 0.9592 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009181/0.1259, allocations: 0.7011 MB / 0.9599 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009753/0.1268, allocations: 1.313 MB / 0.9612 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.1272, allocations: 396.1 kB / 0.9615 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.1283, allocations: 0.7903 MB / 0.9623 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/0.1287, allocations: 406.8 kB / 0.9627 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.1288, allocations: 52 kB / 0.9628 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.1294, allocations: 0.5689 MB / 0.9633 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1296, allocations: 239.3 kB / 0.9635 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1297, allocations: 235.5 kB / 0.9638 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008468/0.1306, allocations: 0.8568 MB / 0.9646 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1306, allocations: 0 / 0.9646 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1306, allocations: 0 / 0.9646 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.1306, allocations: 0 / 0.9646 GB, free: 5.453 MB / 0.9167 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.001048/0.1316, allocations: 0.978 MB / 0.9656 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1317, allocations: 8.031 kB / 0.9656 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000768/0.1324, allocations: 264.1 kB / 0.9658 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.1329, allocations: 421 kB / 0.9662 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.1329, allocations: 41.12 kB / 0.9663 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.133, allocations: 40 kB / 0.9663 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.1335, allocations: 0.6971 MB / 0.967 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1336, allocations: 0 / 0.967 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.1336, allocations: 16 kB / 0.967 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.1336, allocations: 17 kB / 0.967 GB, free: 2.824 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.1338, allocations: 170.8 kB / 0.9672 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.1357, allocations: 1.743 MB / 0.9689 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.136, allocations: 95 kB / 0.969 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.1361, allocations: 39.61 kB / 0.969 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1361, allocations: 8 kB / 0.969 GB, free: 0.6953 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1361, allocations: 49.3 kB / 0.9691 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.1361, allocations: 0 / 0.9691 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.001402/0.1375, allocations: 440.8 kB / 0.9695 GB, free: 200 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1375, allocations: 81.05 kB / 0.9696 GB, free: 100 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1378, allocations: 438.4 kB / 0.97 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1378, allocations: 25.7 kB / 0.97 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.138, allocations: 370.4 kB / 0.9704 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.138, allocations: 43.61 kB / 0.9704 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.1381, allocations: 67.3 kB / 0.9705 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1382, allocations: 0.5234 MB / 0.971 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.1383, allocations: 35.97 kB / 0.971 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1384, allocations: 170 kB / 0.9712 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1386, allocations: 167 kB / 0.9713 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1386, allocations: 4 kB / 0.9713 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006881/0.1393, allocations: 334.2 kB / 0.9716 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1393, allocations: 9.719 kB / 0.9717 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1393, allocations: 0 / 0.9717 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007165/0.14, allocations: 247.6 kB / 0.9719 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1402, allocations: 63.89 kB / 0.972 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.1419, allocations: 1.999 MB / 0.9739 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1421, allocations: 39.83 kB / 0.9739 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.1421, allocations: 11.98 kB / 0.974 GB, free: 11.32 MB / 0.9323 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.0001239/0.1423, allocations: 176.4 kB / 0.9741 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.1423, allocations: 43.77 kB / 0.9742 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.1424, allocations: 39.28 kB / 0.9742 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1424, allocations: 4 kB / 0.9742 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1424, allocations: 0 / 0.9742 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1424, allocations: 3.984 kB / 0.9742 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.1432, allocations: 0.6098 MB / 0.9748 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1432, allocations: 0 / 0.9748 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.047e-05/0.1433, allocations: 32.03 kB / 0.9748 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006042/0.1439, allocations: 243.3 kB / 0.9751 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1439, allocations: 8 kB / 0.9751 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.1451, allocations: 1.948 MB / 0.977 GB, free: 8.051 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1451, allocations: 0 / 0.977 GB, free: 8.051 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.1457, allocations: 414.5 kB / 0.9774 GB, free: 7.613 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.1458, allocations: 71.7 kB / 0.9774 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1458, allocations: 7.875 kB / 0.9774 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.146, allocations: 27.97 kB / 0.9775 GB, free: 7.508 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.1461, allocations: 15.98 kB / 0.9775 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.1461, allocations: 7.984 kB / 0.9775 GB, free: 7.484 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001345/0.1462, allocations: 274.9 kB / 0.9778 GB, free: 7.219 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.1462, allocations: 0 / 0.9778 GB, free: 7.219 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006648/0.1469, allocations: 203.5 kB / 0.978 GB, free: 7.02 MB / 0.9323 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.0002126/0.1471, allocations: 139.2 kB / 0.9781 GB, free: 6.871 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.1475, allocations: 317.2 kB / 0.9784 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1475, allocations: 4 kB / 0.9784 GB, free: 6.535 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1477, allocations: 238.1 kB / 0.9786 GB, free: 6.281 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.1482, allocations: 216.7 kB / 0.9788 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.15, allocations: 0.8861 MB / 0.9797 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.474e-05/0.1501, allocations: 137.2 kB / 0.9798 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.1503, allocations: 71.16 kB / 0.9799 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.1506, allocations: 262 kB / 0.9801 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of SimCode: time 6.01e-07/0.1506, allocations: 0 / 0.9801 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of Templates: time 0.01176/0.1624, allocations: 10.46 MB / 0.9904 GB, free: 10.45 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.363499163649976]