Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008513/0.0008513, allocations: 99.7 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.001047/0.001047, 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.184/1.184, 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.00163/0.00163, allocations: 278.7 kB / 291.3 MB, free: 1.98 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.7446/0.7446, allocations: 144.6 MB / 487 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.000385, allocations: 16.69 kB / 0.5683 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 83.08 MB / 0.6494 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.001304/0.1335, allocations: 1.022 MB / 0.6504 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1353, allocations: 1.018 MB / 0.6514 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.1354, allocations: 1.656 kB / 0.6514 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.674e-05/0.1355, allocations: 15.92 kB / 0.6514 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007002/0.1362, allocations: 267.9 kB / 0.6517 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.454e-05/0.1362, allocations: 4.531 kB / 0.6517 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1363, allocations: 64.5 kB / 0.6518 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.1364, allocations: 8.125 kB / 0.6518 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.1365, allocations: 36.48 kB / 0.6518 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.1365, allocations: 56.36 kB / 0.6519 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1366, allocations: 4 kB / 0.6519 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/0.1372, allocations: 453.2 kB / 0.6523 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.1373, allocations: 67.81 kB / 0.6524 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.1374, allocations: 49.58 kB / 0.6524 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.1378, allocations: 395.4 kB / 0.6528 GB, free: 180 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1378, allocations: 3.938 kB / 0.6528 GB, free: 176 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1378, allocations: 0.7812 kB / 0.6528 GB, free: 176 kB / 446.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1378, allocations: 4 kB / 0.6528 GB, free: 172 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006129/0.1385, allocations: 0.5289 MB / 0.6533 GB, free: 15.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1385, allocations: 12.03 kB / 0.6533 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.1386, allocations: 25.12 kB / 0.6533 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1388, allocations: 230.5 kB / 0.6536 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1389, allocations: 7.953 kB / 0.6536 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1389, allocations: 7.984 kB / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.1393, allocations: 313.5 kB / 0.6539 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1393, allocations: 0.75 kB / 0.6539 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1393, allocations: 0 / 0.6539 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.1394, allocations: 84.64 kB / 0.654 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.1397, allocations: 248.4 kB / 0.6542 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.141, allocations: 0.6244 MB / 0.6548 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1413, allocations: 179.5 kB / 0.655 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.1413, allocations: 7.938 kB / 0.655 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1413, allocations: 35.66 kB / 0.655 GB, free: 13.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.502e-06/0.1413, allocations: 0 / 0.655 GB, free: 13.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007769/0.1421, allocations: 0.6917 MB / 0.6557 GB, free: 12.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1422, allocations: 77.98 kB / 0.6558 GB, free: 12.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1424, allocations: 286.6 kB / 0.656 GB, free: 12.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1425, allocations: 27.77 kB / 0.6561 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.1426, allocations: 132.7 kB / 0.6562 GB, free: 12.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.1426, allocations: 110.3 kB / 0.6563 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.1426, allocations: 0 / 0.6563 GB, free: 12.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1428, allocations: 348 kB / 0.6566 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1429, allocations: 135.9 kB / 0.6568 GB, free: 11.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.143, allocations: 128.5 kB / 0.6569 GB, free: 11.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1432, allocations: 198.2 kB / 0.6571 GB, free: 11.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1432, allocations: 7.875 kB / 0.6571 GB, free: 11.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003745/0.1436, allocations: 371.3 kB / 0.6574 GB, free: 11.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.1437, allocations: 38.94 kB / 0.6575 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1437, allocations: 0.6875 kB / 0.6575 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1437, allocations: 0.875 kB / 0.6575 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.302e-05/0.1437, allocations: 4 kB / 0.6575 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1437, allocations: 0 / 0.6575 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.1438, allocations: 28.28 kB / 0.6575 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.1438, allocations: 9.594 kB / 0.6575 GB, free: 11.06 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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.000148/0.144, allocations: 191.4 kB / 0.6577 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.144, allocations: 19.72 kB / 0.6577 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.1441, allocations: 19.59 kB / 0.6577 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/0.1441, allocations: 39.97 kB / 0.6578 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1441, allocations: 5.672 kB / 0.6578 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1441, allocations: 0 / 0.6578 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.1448, allocations: 309.2 kB / 0.6581 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1448, allocations: 0 / 0.6581 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.1448, allocations: 0.625 kB / 0.6581 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1448, allocations: 3.938 kB / 0.6581 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1448, allocations: 7.281 kB / 0.6581 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1448, allocations: 0 / 0.6581 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1448, allocations: 0 / 0.6581 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.1453, allocations: 486.4 kB / 0.6585 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.1454, allocations: 108.7 kB / 0.6586 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1454, allocations: 8.172 kB / 0.6587 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.168e-05/0.1455, allocations: 5.25 kB / 0.6587 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1455, allocations: 7.984 kB / 0.6587 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1455, allocations: 8 kB / 0.6587 GB, free: 9.766 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1457, allocations: 214.5 kB / 0.6589 GB, free: 9.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.1457, allocations: 5.094 kB / 0.6589 GB, free: 9.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.1462, allocations: 175.9 kB / 0.6591 GB, free: 9.383 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 (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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.000389/0.1466, allocations: 207.2 kB / 0.6592 GB, free: 9.172 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.147, allocations: 387 kB / 0.6596 GB, free: 8.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.147, allocations: 0 / 0.6596 GB, free: 8.781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.1472, allocations: 243.3 kB / 0.6598 GB, free: 8.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.1474, allocations: 10.44 kB / 0.6599 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.1482, allocations: 0.6345 MB / 0.6605 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1486, allocations: 0.7831 MB / 0.6612 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.72e-05/0.1487, allocations: 41.08 kB / 0.6613 GB, free: 7.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.1487, allocations: 23.42 kB / 0.6613 GB, free: 6.996 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1487, allocations: 0 / 0.6613 GB, free: 6.996 MB / 462.1 MB Notification: Performance of Templates: time 0.006587/0.1553, allocations: 3.556 MB / 0.6648 GB, free: 3.441 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) Environment - environmentSimulation: