Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008228/0.000823, allocations: 99.55 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.0009459/0.0009459, 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.192/1.192, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 274.7 kB / 291.2 MB, free: 1.793 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.7395/0.7395, allocations: 144.6 MB / 487 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004205, allocations: 12.12 kB / 0.5683 GB, free: 38.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 83.09 MB / 0.6494 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.001269/0.1396, allocations: 1.05 MB / 0.6505 GB, free: 2.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1413, allocations: 1.23 MB / 0.6517 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.1413, allocations: 0 / 0.6517 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.105e-05/0.1414, allocations: 11.92 kB / 0.6517 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007895/0.1422, allocations: 345.2 kB / 0.652 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.654e-06/0.1422, allocations: 0 / 0.652 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.998e-05/0.1423, allocations: 63.89 kB / 0.6521 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.539e-05/0.1424, allocations: 4.734 kB / 0.6521 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.1425, allocations: 48.33 kB / 0.6521 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.1426, allocations: 51.81 kB / 0.6522 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1426, allocations: 4.531 kB / 0.6522 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007103/0.1433, allocations: 0.5581 MB / 0.6527 GB, free: 292 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.1434, allocations: 50.17 kB / 0.6528 GB, free: 244 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1435, allocations: 45.58 kB / 0.6528 GB, free: 192 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.144, allocations: 483.2 kB / 0.6533 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.144, allocations: 0 / 0.6533 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.144, allocations: 3.938 kB / 0.6533 GB, free: 15.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.144, allocations: 0 / 0.6533 GB, free: 15.71 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000521/0.1446, allocations: 491.5 kB / 0.6537 GB, free: 15.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1446, allocations: 12.62 kB / 0.6537 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.1447, allocations: 17.19 kB / 0.6538 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1449, allocations: 198.8 kB / 0.6539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1449, allocations: 11.94 kB / 0.654 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.1449, allocations: 4 kB / 0.654 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.1452, allocations: 203.1 kB / 0.6542 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1452, allocations: 0.75 kB / 0.6542 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1452, allocations: 7.984 kB / 0.6542 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.752e-05/0.1453, allocations: 48.67 kB / 0.6542 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1455, allocations: 140.8 kB / 0.6543 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007483/0.1462, allocations: 0.5032 MB / 0.6548 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1464, allocations: 87.3 kB / 0.6549 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1465, allocations: 0 / 0.6549 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.1465, allocations: 35.72 kB / 0.655 GB, free: 13.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.1465, allocations: 0 / 0.655 GB, free: 13.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003458/0.1469, allocations: 267.3 kB / 0.6552 GB, free: 13.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1469, allocations: 56 kB / 0.6553 GB, free: 13.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1471, allocations: 227.7 kB / 0.6555 GB, free: 13.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1471, allocations: 29.7 kB / 0.6555 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.1472, allocations: 132.8 kB / 0.6556 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.1472, allocations: 27.56 kB / 0.6557 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.1473, allocations: 1.656 kB / 0.6557 GB, free: 13.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1474, allocations: 330.8 kB / 0.656 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.175e-05/0.1474, allocations: 39.97 kB / 0.656 GB, free: 12.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.1475, allocations: 76.23 kB / 0.6561 GB, free: 12.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.886e-05/0.1476, allocations: 57.89 kB / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1476, allocations: 4.688 kB / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002266/0.1479, allocations: 161.9 kB / 0.6563 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1479, allocations: 9.906 kB / 0.6563 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1479, allocations: 0 / 0.6563 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1479, allocations: 7.938 kB / 0.6563 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.148, allocations: 20.11 kB / 0.6563 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.148, allocations: 8 kB / 0.6563 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.1481, allocations: 12.47 kB / 0.6564 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.1481, allocations: 8 kB / 0.6564 GB, free: 12.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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 9.088e-05/0.1482, allocations: 135.9 kB / 0.6565 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.1483, allocations: 15.81 kB / 0.6565 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.1485, allocations: 175.4 kB / 0.6567 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.1485, allocations: 11.55 kB / 0.6567 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1486, allocations: 3.953 kB / 0.6567 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1486, allocations: 0 / 0.6567 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1488, allocations: 225.5 kB / 0.6569 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1488, allocations: 0 / 0.6569 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.1489, allocations: 15.98 kB / 0.6569 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.1489, allocations: 0 / 0.6569 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.149, allocations: 7.938 kB / 0.6569 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.149, allocations: 0 / 0.6569 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.149, allocations: 0 / 0.6569 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1492, allocations: 260.6 kB / 0.6572 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1493, allocations: 98.25 kB / 0.6573 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1493, allocations: 4 kB / 0.6573 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1494, allocations: 0 / 0.6573 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.1494, allocations: 5.062 kB / 0.6573 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1494, allocations: 11.98 kB / 0.6573 GB, free: 11.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1496, allocations: 176.3 kB / 0.6575 GB, free: 11.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1496, allocations: 4.094 kB / 0.6575 GB, free: 11.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.1501, allocations: 219.8 kB / 0.6577 GB, free: 10.87 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0004269/0.1505, allocations: 243.1 kB / 0.6579 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1507, allocations: 131.8 kB / 0.658 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1508, allocations: 192 / 0.658 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.1508, allocations: 75.88 kB / 0.6581 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.151, allocations: 13.31 kB / 0.6581 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.1515, allocations: 378.1 kB / 0.6585 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1518, allocations: 0.7438 MB / 0.6592 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1519, allocations: 37.08 kB / 0.6592 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.1519, allocations: 19.42 kB / 0.6593 GB, free: 9.188 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.152, allocations: 0 / 0.6593 GB, free: 9.188 MB / 462.1 MB Notification: Performance of Templates: time 0.006161/0.1581, allocations: 3.777 MB / 0.6629 GB, free: 5.445 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) Environment - environmentSimulation: