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.001093/0.001093, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001085/0.001085, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002259/0.002259, allocations: 298.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9589/0.9589, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4597, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002529/0.4623, allocations: 1.322 MB / 0.7683 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.4641, allocations: 1.084 MB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.4641, allocations: 0 / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.247e-05/0.4642, allocations: 15.84 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.4653, allocations: 489.5 kB / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.383e-05/0.4653, allocations: 0 / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.4655, allocations: 107.6 kB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.4656, allocations: 4.188 kB / 0.77 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.4657, allocations: 39.89 kB / 0.77 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.4658, allocations: 63.8 kB / 0.7701 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.4658, allocations: 8 kB / 0.7701 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007448/0.4666, allocations: 0.5538 MB / 0.7706 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.654e-05/0.4667, allocations: 77.47 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.4668, allocations: 67.36 kB / 0.7708 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.4674, allocations: 0.5842 MB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4674, allocations: 0 / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4674, allocations: 0 / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4674, allocations: 0 / 0.7713 GB, free: 15.49 MB / 0.545 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.0006132/0.468, allocations: 0.5534 MB / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4681, allocations: 12.03 kB / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.4681, allocations: 20.66 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.4684, allocations: 243.7 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4684, allocations: 8.359 kB / 0.7722 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4684, allocations: 8.062 kB / 0.7722 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.4688, allocations: 312.9 kB / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4688, allocations: 0 / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.4688, allocations: 3.984 kB / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.4689, allocations: 83.92 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.4692, allocations: 248.4 kB / 0.7728 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4705, allocations: 0.6181 MB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.4707, allocations: 178.8 kB / 0.7736 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.4709, allocations: 169.1 kB / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.4709, allocations: 0 / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.4709, allocations: 30.56 kB / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/0.471, allocations: 8 kB / 0.7738 GB, free: 12.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0006958/0.4717, allocations: 0.536 MB / 0.7743 GB, free: 12.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.4717, allocations: 77.11 kB / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.472, allocations: 294.5 kB / 0.7746 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.472, allocations: 25.7 kB / 0.7747 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.4721, allocations: 128.8 kB / 0.7748 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.4722, allocations: 110.3 kB / 0.7749 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.4722, allocations: 37.69 kB / 0.7749 GB, free: 11.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4724, allocations: 350.8 kB / 0.7753 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4725, allocations: 131.9 kB / 0.7754 GB, free: 11.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.4726, allocations: 128.8 kB / 0.7755 GB, free: 11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.473, allocations: 384.6 kB / 0.7759 GB, free: 10.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.473, allocations: 0 / 0.7759 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003972/0.4734, allocations: 387.2 kB / 0.7762 GB, free: 10.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.4734, allocations: 37.64 kB / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4734, allocations: 4 kB / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4735, allocations: 0 / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.4735, allocations: 0 / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.4735, allocations: 8 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.4736, allocations: 27.56 kB / 0.7763 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.4736, allocations: 8 kB / 0.7763 GB, free: 10.13 MB / 0.545 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.0001395/0.4738, allocations: 181.9 kB / 0.7765 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.4738, allocations: 27.62 kB / 0.7765 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.4739, allocations: 23.09 kB / 0.7765 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4739, allocations: 3.984 kB / 0.7765 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4739, allocations: 0 / 0.7765 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.474, allocations: 108.7 kB / 0.7766 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.474, allocations: 11.98 kB / 0.7767 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.4741, allocations: 0 / 0.7767 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.4741, allocations: 7.938 kB / 0.7767 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004739/0.4746, allocations: 0.4995 MB / 0.7772 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004626/0.4751, allocations: 0.5523 MB / 0.7777 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001686/0.4752, allocations: 159.9 kB / 0.7778 GB, free: 8.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001834/0.4754, allocations: 217.9 kB / 0.7781 GB, free: 8.273 MB / 0.545 GB Notification: Performance of Backend: time 6.01e-07/0.4754, allocations: 4 kB / 0.7781 GB, free: 8.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009621/0.4764, allocations: 432.3 kB / 0.7785 GB, free: 7.832 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008641/0.4773, allocations: 0.9349 MB / 0.7794 GB, free: 6.836 MB / 0.545 GB Notification: Performance of Templates: time 0.007302/0.4846, allocations: 4.224 MB / 0.7835 GB, free: 2.613 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile (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)