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.0009605/0.0009605, allocations: 80.39 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.00103/0.00103, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9593/0.9593, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.785/1.785, allocations: 359 MB / 0.6063 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 1.232e-06/1.232e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.61e-05, allocations: 6.047 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1282/0.1283, allocations: 145.5 MB / 0.9304 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.1322, allocations: 3.399 MB / 0.9337 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.1326, allocations: 31.75 kB / 0.9337 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.133, allocations: 174.7 kB / 0.9339 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.1342, allocations: 0.8002 MB / 0.9347 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1354, allocations: 0.701 MB / 0.9354 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009524/0.1363, allocations: 1.313 MB / 0.9367 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.1367, allocations: 396.1 kB / 0.937 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.1378, allocations: 0.8125 MB / 0.9378 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.1381, allocations: 402.9 kB / 0.9382 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.1382, allocations: 52 kB / 0.9383 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.1388, allocations: 0.5766 MB / 0.9388 GB, free: 1.605 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.139, allocations: 227.3 kB / 0.939 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1391, allocations: 235.5 kB / 0.9393 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007887/0.1399, allocations: 0.849 MB / 0.9401 GB, free: 308 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1399, allocations: 0 / 0.9401 GB, free: 308 kB / 0.8855 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1399, allocations: 4 kB / 0.9401 GB, free: 304 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1399, allocations: 7.984 kB / 0.9401 GB, free: 296 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.00101/0.1409, allocations: 0.9702 MB / 0.9411 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.141, allocations: 12.03 kB / 0.9411 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007248/0.1417, allocations: 264.1 kB / 0.9413 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.1421, allocations: 421 kB / 0.9417 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1421, allocations: 41.11 kB / 0.9418 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.1422, allocations: 44 kB / 0.9418 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.1428, allocations: 0.6853 MB / 0.9425 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1428, allocations: 0 / 0.9425 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.1428, allocations: 20 kB / 0.9425 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.1428, allocations: 24.97 kB / 0.9425 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.1431, allocations: 162.8 kB / 0.9427 GB, free: 13.5 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.001812/0.1449, allocations: 1.739 MB / 0.9444 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1451, allocations: 91.02 kB / 0.9445 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.1451, allocations: 35.66 kB / 0.9445 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1451, allocations: 8 kB / 0.9445 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1452, allocations: 45.33 kB / 0.9445 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.1452, allocations: 0 / 0.9445 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.001411/0.1466, allocations: 456.7 kB / 0.945 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1466, allocations: 81.11 kB / 0.9451 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1469, allocations: 418.4 kB / 0.9455 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1469, allocations: 33.7 kB / 0.9455 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1471, allocations: 370.3 kB / 0.9458 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1472, allocations: 43.67 kB / 0.9459 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.1472, allocations: 63.3 kB / 0.9459 GB, free: 9.988 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1474, allocations: 0.5312 MB / 0.9465 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.1474, allocations: 27.97 kB / 0.9465 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1475, allocations: 170.1 kB / 0.9466 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1477, allocations: 170.6 kB / 0.9468 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1477, allocations: 0 / 0.9468 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006742/0.1484, allocations: 328.7 kB / 0.9471 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1484, allocations: 8 kB / 0.9471 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1484, allocations: 4 kB / 0.9471 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/0.1491, allocations: 243.6 kB / 0.9474 GB, free: 8.406 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1492, allocations: 63.89 kB / 0.9474 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.1508, allocations: 2.01 MB / 0.9494 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.151, allocations: 47.8 kB / 0.9494 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.151, allocations: 11.98 kB / 0.9494 GB, free: 6.168 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.0001215/0.1511, allocations: 180.4 kB / 0.9496 GB, free: 5.98 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.1512, allocations: 39.77 kB / 0.9497 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.1513, allocations: 39.28 kB / 0.9497 GB, free: 5.898 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1513, allocations: 0 / 0.9497 GB, free: 5.898 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1513, allocations: 4 kB / 0.9497 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1513, allocations: 3.984 kB / 0.9497 GB, free: 5.891 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/0.1521, allocations: 0.6098 MB / 0.9503 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1521, allocations: 192 / 0.9503 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.1522, allocations: 36.03 kB / 0.9503 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/0.1528, allocations: 239.3 kB / 0.9506 GB, free: 4.961 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1528, allocations: 8 kB / 0.9506 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.154, allocations: 1.948 MB / 0.9525 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.154, allocations: 192 / 0.9525 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.1546, allocations: 414.4 kB / 0.9529 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.1547, allocations: 75.7 kB / 0.9529 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1548, allocations: 11.88 kB / 0.953 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.155, allocations: 35.22 kB / 0.953 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.155, allocations: 11.98 kB / 0.953 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.155, allocations: 11.98 kB / 0.953 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001386/0.1552, allocations: 263 kB / 0.9533 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.1552, allocations: 0 / 0.9533 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003797/0.1556, allocations: 199.6 kB / 0.9534 GB, free: 1.867 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.0002183/0.1558, allocations: 151.1 kB / 0.9536 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.1562, allocations: 322.1 kB / 0.9539 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1562, allocations: 0 / 0.9539 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.1563, allocations: 241.4 kB / 0.9541 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.1569, allocations: 220.9 kB / 0.9543 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.1584, allocations: 0.8807 MB / 0.9552 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.1585, allocations: 133.2 kB / 0.9553 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.1587, allocations: 67.19 kB / 0.9554 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.159, allocations: 262 kB / 0.9556 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.159, allocations: 0 / 0.9556 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.0121/0.1711, allocations: 10.46 MB / 0.9659 GB, free: 5.285 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.331422488205135]