Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009653/0.0009653, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009709/0.0009709, allocations: 161 kB / 24.17 MB, free: 332 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 0.9025/0.9025, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.804/1.804, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7751 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.669e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1287/0.1288, allocations: 147.7 MB / 0.9193 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.003398/0.1322, allocations: 3.478 MB / 0.9227 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.1324, allocations: 31.75 kB / 0.9228 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.1329, allocations: 174.7 kB / 0.9229 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1339, allocations: 0.804 MB / 0.9237 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008723/0.1347, allocations: 0.7089 MB / 0.9244 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008912/0.1356, allocations: 1.295 MB / 0.9257 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005929/0.1362, allocations: 396.7 kB / 0.926 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009425/0.1372, allocations: 0.7924 MB / 0.9268 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.1375, allocations: 386.9 kB / 0.9272 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.1376, allocations: 55.94 kB / 0.9272 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000536/0.1381, allocations: 0.5728 MB / 0.9278 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1382, allocations: 227.3 kB / 0.928 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.1384, allocations: 227.5 kB / 0.9282 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007106/0.1391, allocations: 0.8567 MB / 0.9291 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1391, allocations: 4 kB / 0.9291 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1391, allocations: 0 / 0.9291 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1391, allocations: 3.938 kB / 0.9291 GB, free: 7.398 MB / 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.0008708/0.14, allocations: 0.8339 MB / 0.9299 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.14, allocations: 13.34 kB / 0.9299 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000619/0.1406, allocations: 248.4 kB / 0.9301 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.141, allocations: 367.5 kB / 0.9305 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.141, allocations: 41.11 kB / 0.9305 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.1411, allocations: 44 kB / 0.9306 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.1416, allocations: 0.6793 MB / 0.9312 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1416, allocations: 0 / 0.9312 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.1416, allocations: 20 kB / 0.9313 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.1417, allocations: 20.98 kB / 0.9313 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.1419, allocations: 160.5 kB / 0.9314 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1433, allocations: 1.317 MB / 0.9327 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1435, allocations: 133.2 kB / 0.9328 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.1435, allocations: 36.84 kB / 0.9329 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1436, allocations: 7.984 kB / 0.9329 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1436, allocations: 34.56 kB / 0.9329 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1436, allocations: 4 kB / 0.9329 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001178/0.1448, allocations: 416.9 kB / 0.9333 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1448, allocations: 77.11 kB / 0.9334 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.145, allocations: 351.2 kB / 0.9337 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1451, allocations: 25.7 kB / 0.9338 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1452, allocations: 288.6 kB / 0.934 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1452, allocations: 35.66 kB / 0.9341 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.1453, allocations: 65.61 kB / 0.9341 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1454, allocations: 346.7 kB / 0.9345 GB, free: 1.613 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.1455, allocations: 34.81 kB / 0.9345 GB, free: 1.578 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.737e-05/0.1456, allocations: 135 kB / 0.9346 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1457, allocations: 144 kB / 0.9348 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1457, allocations: 4 kB / 0.9348 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005531/0.1463, allocations: 283.8 kB / 0.935 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1463, allocations: 8 kB / 0.935 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1463, allocations: 0 / 0.935 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.1469, allocations: 235.6 kB / 0.9353 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.147, allocations: 59.89 kB / 0.9353 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.1482, allocations: 1.422 MB / 0.9367 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1484, allocations: 47.75 kB / 0.9368 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1484, allocations: 15.94 kB / 0.9368 GB, free: 15.05 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.1486, allocations: 120.7 kB / 0.9369 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.1486, allocations: 39.89 kB / 0.9369 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.1486, allocations: 39.22 kB / 0.937 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1487, allocations: 4 kB / 0.937 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1487, allocations: 3.938 kB / 0.937 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1487, allocations: 0 / 0.937 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007208/0.1494, allocations: 0.5385 MB / 0.9375 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1494, allocations: 3.984 kB / 0.9375 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.1494, allocations: 19.98 kB / 0.9375 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/0.15, allocations: 250.4 kB / 0.9378 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.15, allocations: 4 kB / 0.9378 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009147/0.1509, allocations: 1.395 MB / 0.9391 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1509, allocations: 4.031 kB / 0.9391 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.1514, allocations: 382.5 kB / 0.9395 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/0.1515, allocations: 51.73 kB / 0.9395 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1515, allocations: 0 / 0.9395 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.152, allocations: 34.61 kB / 0.9396 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.152, allocations: 12.17 kB / 0.9396 GB, free: 12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.152, allocations: 15.98 kB / 0.9396 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000101/0.1521, allocations: 148.6 kB / 0.9397 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3e-08/0.1522, allocations: 4 kB / 0.9397 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003304/0.1525, allocations: 191.6 kB / 0.9399 GB, free: 11.64 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001908/0.1527, allocations: 140.2 kB / 0.9401 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.153, allocations: 249.5 kB / 0.9403 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.153, allocations: 12.06 kB / 0.9403 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1531, allocations: 167.4 kB / 0.9405 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.1536, allocations: 205.8 kB / 0.9407 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.155, allocations: 0.905 MB / 0.9415 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.383e-05/0.1551, allocations: 125.2 kB / 0.9417 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.1553, allocations: 67.23 kB / 0.9417 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.1556, allocations: 219.1 kB / 0.9419 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of SimCode: time 5.52e-07/0.1556, allocations: 0 / 0.9419 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of Templates: time 0.01101/0.1666, allocations: 10.15 MB / 0.9518 GB, free: 15.56 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0055796559900045]