Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008707/0.0008706, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 271.2 kB / 291.3 MB, free: 1.988 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7471/0.7471, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 14.92 kB / 0.5683 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 83.08 MB / 0.6494 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.001452/0.1311, allocations: 1.233 MB / 0.6506 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.132, allocations: 0.6272 MB / 0.6512 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.132, allocations: 0 / 0.6512 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1322, allocations: 31.86 kB / 0.6513 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1324, allocations: 115.6 kB / 0.6514 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.173e-05/0.1325, allocations: 4 kB / 0.6514 GB, free: 1.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1326, allocations: 104.9 kB / 0.6515 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.1327, allocations: 5.125 kB / 0.6515 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1328, allocations: 64.44 kB / 0.6515 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.1329, allocations: 60.3 kB / 0.6516 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1329, allocations: 8.562 kB / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1331, allocations: 103.9 kB / 0.6517 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.1332, allocations: 66.09 kB / 0.6518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.1332, allocations: 49.64 kB / 0.6518 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1334, allocations: 167.9 kB / 0.652 GB, free: 1.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1334, allocations: 0 / 0.652 GB, free: 1.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1334, allocations: 3.938 kB / 0.652 GB, free: 1.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1334, allocations: 0 / 0.652 GB, free: 1.012 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0004035/0.1338, allocations: 432 kB / 0.6524 GB, free: 0.543 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1339, allocations: 12.03 kB / 0.6524 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1339, allocations: 16.31 kB / 0.6524 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.134, allocations: 186.8 kB / 0.6526 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.134, allocations: 17.5 kB / 0.6526 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1341, allocations: 15.98 kB / 0.6526 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.1345, allocations: 348 kB / 0.653 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1345, allocations: 4.844 kB / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1345, allocations: 3.984 kB / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.1347, allocations: 64.97 kB / 0.653 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.1349, allocations: 222.5 kB / 0.6532 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.1363, allocations: 0.9904 MB / 0.6542 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.1365, allocations: 209.1 kB / 0.6544 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1365, allocations: 5.938 kB / 0.6544 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1366, allocations: 38.5 kB / 0.6545 GB, free: 14.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 1.303e-06/0.1366, allocations: 0 / 0.6545 GB, free: 14.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009723/0.1375, allocations: 1.302 MB / 0.6557 GB, free: 12.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1376, allocations: 56.09 kB / 0.6558 GB, free: 12.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1377, allocations: 144.3 kB / 0.6559 GB, free: 12.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1377, allocations: 25.7 kB / 0.6559 GB, free: 12.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.1378, allocations: 160.9 kB / 0.6561 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.1379, allocations: 130.1 kB / 0.6562 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.1379, allocations: 8.828 kB / 0.6562 GB, free: 12.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1381, allocations: 331.4 kB / 0.6565 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1382, allocations: 104.5 kB / 0.6566 GB, free: 11.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.1384, allocations: 235.2 kB / 0.6569 GB, free: 11.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1386, allocations: 160.5 kB / 0.657 GB, free: 11.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1386, allocations: 0.5938 kB / 0.657 GB, free: 11.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004625/0.1391, allocations: 386.2 kB / 0.6574 GB, free: 10.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1391, allocations: 8.531 kB / 0.6574 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1391, allocations: 4 kB / 0.6574 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1391, allocations: 12 kB / 0.6574 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1392, allocations: 35.92 kB / 0.6574 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1393, allocations: 7.938 kB / 0.6575 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1394, allocations: 43.52 kB / 0.6575 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.1394, allocations: 31.92 kB / 0.6575 GB, free: 10.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (32): * Single equations (assignments): 20 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.1396, allocations: 161.6 kB / 0.6577 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1396, allocations: 11.81 kB / 0.6577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.1399, allocations: 279.1 kB / 0.658 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.235e-05/0.14, allocations: 23.97 kB / 0.658 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.14, allocations: 0 / 0.658 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.14, allocations: 0 / 0.658 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008236/0.1409, allocations: 0.6307 MB / 0.6586 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1409, allocations: 0 / 0.6586 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.1409, allocations: 7.984 kB / 0.6586 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1409, allocations: 4 kB / 0.6586 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.141, allocations: 7.984 kB / 0.6586 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.141, allocations: 0 / 0.6586 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.141, allocations: 4 kB / 0.6586 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.1413, allocations: 390.6 kB / 0.659 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.1414, allocations: 96.8 kB / 0.6591 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1414, allocations: 4 kB / 0.6591 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.1415, allocations: 7.969 kB / 0.6591 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.1415, allocations: 19.97 kB / 0.6591 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1416, allocations: 16 kB / 0.6591 GB, free: 9.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.074e-05/0.1416, allocations: 109 kB / 0.6592 GB, free: 8.965 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1417, allocations: 3.938 kB / 0.6592 GB, free: 8.961 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.142, allocations: 67.94 kB / 0.6593 GB, free: 8.895 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 5 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001741/0.1422, allocations: 123.2 kB / 0.6594 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.1425, allocations: 272.3 kB / 0.6597 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1425, allocations: 4.188 kB / 0.6597 GB, free: 8.496 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1427, allocations: 125.2 kB / 0.6598 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1428, allocations: 4 kB / 0.6598 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.1434, allocations: 0.5404 MB / 0.6603 GB, free: 7.797 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1438, allocations: 0.7603 MB / 0.6611 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.1441, allocations: 85.41 kB / 0.6612 GB, free: 6.926 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1442, allocations: 39.42 kB / 0.6612 GB, free: 6.887 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1442, allocations: 4 kB / 0.6612 GB, free: 6.883 MB / 462.1 MB Notification: Performance of Templates: time 0.003786/0.148, allocations: 1.477 MB / 0.6626 GB, free: 5.414 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) Environment - environmentSimulation: