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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 291.3 kB / 306.6 MB, free: 8.422 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.157/1.157, allocations: 180.9 MB / 0.53 GB, free: 14.44 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 97.58 kB / 0.7308 GB, free: 39.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1386, allocations: 94.2 MB / 0.8228 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002457/0.1411, allocations: 1.324 MB / 0.8241 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1429, allocations: 1.101 MB / 0.8252 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.1429, allocations: 0 / 0.8252 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.678e-05/0.143, allocations: 11.92 kB / 0.8252 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.1441, allocations: 0.5114 MB / 0.8257 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.643e-05/0.1441, allocations: 7.984 kB / 0.8257 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1443, allocations: 99.7 kB / 0.8258 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.1443, allocations: 4.188 kB / 0.8258 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.171e-05/0.1444, allocations: 51.78 kB / 0.8259 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1445, allocations: 63.78 kB / 0.8259 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1445, allocations: 4 kB / 0.8259 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008225/0.1453, allocations: 0.6629 MB / 0.8266 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1455, allocations: 77.25 kB / 0.8267 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.1455, allocations: 79.28 kB / 0.8267 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.1462, allocations: 0.5997 MB / 0.8273 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1462, allocations: 0 / 0.8273 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1462, allocations: 0 / 0.8273 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.1462, allocations: 0 / 0.8273 GB, free: 13.2 MB / 0.5762 GB 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.0006339/0.1469, allocations: 0.4998 MB / 0.8278 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1469, allocations: 8.625 kB / 0.8278 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1469, allocations: 28.75 kB / 0.8278 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1472, allocations: 182 kB / 0.828 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1472, allocations: 4.375 kB / 0.828 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1472, allocations: 7.922 kB / 0.828 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.1476, allocations: 312.5 kB / 0.8283 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1476, allocations: 0 / 0.8283 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1476, allocations: 0 / 0.8283 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.1477, allocations: 91.86 kB / 0.8284 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.148, allocations: 252.4 kB / 0.8286 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.1493, allocations: 0.5938 MB / 0.8292 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1495, allocations: 146.8 kB / 0.8294 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1497, allocations: 141.1 kB / 0.8295 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.1497, allocations: 0 / 0.8295 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1498, allocations: 38.56 kB / 0.8295 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.022e-06/0.1498, allocations: 0 / 0.8295 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.000735/0.1505, allocations: 0.5323 MB / 0.8301 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.1505, allocations: 81.05 kB / 0.8301 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1508, allocations: 289.9 kB / 0.8304 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1509, allocations: 25.7 kB / 0.8304 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.151, allocations: 136.7 kB / 0.8306 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.198e-05/0.151, allocations: 114.9 kB / 0.8307 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.1511, allocations: 37.7 kB / 0.8307 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1513, allocations: 350.8 kB / 0.831 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1514, allocations: 131.9 kB / 0.8312 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1516, allocations: 127.9 kB / 0.8313 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.1519, allocations: 381.5 kB / 0.8317 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1519, allocations: 0 / 0.8317 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004285/0.1524, allocations: 387.3 kB / 0.832 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.1524, allocations: 33.7 kB / 0.8321 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1524, allocations: 7.922 kB / 0.8321 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1524, allocations: 0 / 0.8321 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.1525, allocations: 8 kB / 0.8321 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1525, allocations: 3.938 kB / 0.8321 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.1525, allocations: 19.78 kB / 0.8321 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1525, allocations: 8 kB / 0.8321 GB, free: 8.055 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.1527, allocations: 192.1 kB / 0.8323 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.1528, allocations: 23.81 kB / 0.8323 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.1528, allocations: 22.95 kB / 0.8323 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/0.1529, allocations: 43.91 kB / 0.8324 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1529, allocations: 3.938 kB / 0.8324 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1529, allocations: 4 kB / 0.8324 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.1535, allocations: 268.4 kB / 0.8326 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1535, allocations: 0 / 0.8326 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.1535, allocations: 0 / 0.8326 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1535, allocations: 0 / 0.8326 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1535, allocations: 4 kB / 0.8326 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1535, allocations: 0 / 0.8326 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1535, allocations: 3.938 kB / 0.8326 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.154, allocations: 0.4907 MB / 0.8331 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.1541, allocations: 43.67 kB / 0.8332 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1541, allocations: 192 / 0.8332 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.1542, allocations: 0 / 0.8332 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.1542, allocations: 11.92 kB / 0.8332 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1542, allocations: 15.98 kB / 0.8332 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002047/0.1544, allocations: 213.2 kB / 0.8334 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1544, allocations: 0 / 0.8334 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004826/0.1549, allocations: 171.8 kB / 0.8336 GB, free: 6.473 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003944/0.1553, allocations: 206.9 kB / 0.8338 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004501/0.1557, allocations: 367.1 kB / 0.8341 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1557, allocations: 0 / 0.8341 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.156, allocations: 207.3 kB / 0.8343 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.1562, allocations: 13.44 kB / 0.8343 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00079/0.157, allocations: 0.5933 MB / 0.8349 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1574, allocations: 0.7754 MB / 0.8357 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.318e-05/0.1575, allocations: 53 kB / 0.8357 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.1575, allocations: 19.44 kB / 0.8357 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1575, allocations: 0 / 0.8357 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.007157/0.1647, allocations: 3.805 MB / 0.8394 GB, free: 388 kB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 28.632048740051687] Failed to read output from testmodel.py, exit status != 0: 0.1718894438818097 0.18589966600000002 0.036824745 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7efd5bef57b0>