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.001393/0.001393, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001204/0.001204, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 1.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.687/1.687, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.004e-06/2.004e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.981e-05, allocations: 3.625 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1282/0.1282, allocations: 145.5 MB / 0.9296 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003295/0.1315, allocations: 3.41 MB / 0.933 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.1318, allocations: 27.81 kB / 0.933 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.1322, allocations: 170.7 kB / 0.9332 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.1333, allocations: 0.7963 MB / 0.9339 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008179/0.1341, allocations: 0.7088 MB / 0.9346 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008642/0.1349, allocations: 1.325 MB / 0.9359 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.1353, allocations: 392.1 kB / 0.9363 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009965/0.1363, allocations: 0.7966 MB / 0.9371 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.1366, allocations: 410.8 kB / 0.9375 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.1367, allocations: 48 kB / 0.9375 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000529/0.1372, allocations: 0.5767 MB / 0.9381 GB, free: 1.578 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1374, allocations: 227.3 kB / 0.9383 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1375, allocations: 235.5 kB / 0.9385 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007263/0.1382, allocations: 0.8528 MB / 0.9393 GB, free: 276 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1382, allocations: 0 / 0.9393 GB, free: 276 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1382, allocations: 0 / 0.9393 GB, free: 276 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1383, allocations: 0 / 0.9393 GB, free: 276 kB / 0.8855 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.0009164/0.1392, allocations: 0.978 MB / 0.9403 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1392, allocations: 8.031 kB / 0.9403 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006552/0.1399, allocations: 268.1 kB / 0.9406 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.1402, allocations: 421.1 kB / 0.941 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.1403, allocations: 45.06 kB / 0.941 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.1403, allocations: 40 kB / 0.941 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.1408, allocations: 0.6815 MB / 0.9417 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1408, allocations: 0 / 0.9417 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.1409, allocations: 20 kB / 0.9417 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.1409, allocations: 24.92 kB / 0.9418 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.1411, allocations: 170.8 kB / 0.9419 GB, free: 13.47 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.001644/0.1428, allocations: 1.739 MB / 0.9436 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1429, allocations: 95 kB / 0.9437 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.143, allocations: 31.67 kB / 0.9437 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.143, allocations: 4 kB / 0.9437 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.143, allocations: 41.39 kB / 0.9438 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.143, allocations: 4 kB / 0.9438 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.001275/0.1443, allocations: 456.7 kB / 0.9442 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1443, allocations: 81.11 kB / 0.9443 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1446, allocations: 422.4 kB / 0.9447 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1446, allocations: 29.7 kB / 0.9447 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1447, allocations: 370.3 kB / 0.9451 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.1448, allocations: 43.67 kB / 0.9451 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.1448, allocations: 63.3 kB / 0.9452 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.145, allocations: 0.5312 MB / 0.9457 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.145, allocations: 27.97 kB / 0.9457 GB, free: 9.395 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1451, allocations: 166.2 kB / 0.9459 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1453, allocations: 174.8 kB / 0.9461 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1453, allocations: 0 / 0.9461 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006084/0.1459, allocations: 340.6 kB / 0.9464 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1459, allocations: 6.812 kB / 0.9464 GB, free: 8.621 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1459, allocations: 7.984 kB / 0.9464 GB, free: 8.613 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.1465, allocations: 239.6 kB / 0.9466 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1466, allocations: 59.89 kB / 0.9467 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.148, allocations: 2.01 MB / 0.9486 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1482, allocations: 55.72 kB / 0.9487 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1482, allocations: 8 kB / 0.9487 GB, free: 6.137 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.000104/0.1483, allocations: 176.5 kB / 0.9489 GB, free: 5.953 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.1483, allocations: 39.77 kB / 0.9489 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.1484, allocations: 43.27 kB / 0.9489 GB, free: 5.867 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1484, allocations: 4 kB / 0.949 GB, free: 5.863 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.1484, allocations: 4 kB / 0.949 GB, free: 5.859 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1484, allocations: 0 / 0.949 GB, free: 5.859 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/0.1492, allocations: 0.602 MB / 0.9495 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1492, allocations: 0 / 0.9495 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.1493, allocations: 35.97 kB / 0.9496 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.1498, allocations: 243.3 kB / 0.9498 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1498, allocations: 4 kB / 0.9498 GB, free: 4.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.1509, allocations: 1.956 MB / 0.9517 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1509, allocations: 3.984 kB / 0.9517 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.1515, allocations: 414.4 kB / 0.9521 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.1516, allocations: 71.72 kB / 0.9522 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1516, allocations: 3.938 kB / 0.9522 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.1518, allocations: 31.97 kB / 0.9522 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.1518, allocations: 11.97 kB / 0.9522 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.1518, allocations: 15.98 kB / 0.9523 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001267/0.152, allocations: 270.9 kB / 0.9525 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.152, allocations: 0 / 0.9525 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000348/0.1523, allocations: 195.6 kB / 0.9527 GB, free: 1.832 MB / 0.9011 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.0001738/0.1525, allocations: 151.1 kB / 0.9528 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1528, allocations: 314.3 kB / 0.9531 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1528, allocations: 0 / 0.9531 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.153, allocations: 245.3 kB / 0.9534 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.1535, allocations: 224.2 kB / 0.9536 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.1549, allocations: 0.8862 MB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.155, allocations: 129.2 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.1551, allocations: 67.25 kB / 0.9546 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.1555, allocations: 266 kB / 0.9549 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.1555, allocations: 0 / 0.9549 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.01075/0.1662, allocations: 10.33 MB / 0.965 GB, free: 5.367 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.088986663147807]