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.001254/0.001254, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 192.6 kB / 16.63 MB, free: 6.613 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.292/1.292, allocations: 222.9 MB / 240.3 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 282.4 kB / 290.8 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9274/0.9274, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 95.84 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1426, allocations: 86.97 MB / 0.7663 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.00193/0.1446, allocations: 1.325 MB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1461, allocations: 1.08 MB / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.1461, allocations: 7.938 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.513e-05/0.1462, allocations: 11.92 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009545/0.1472, allocations: 481.5 kB / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.361e-05/0.1472, allocations: 0 / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1473, allocations: 111.6 kB / 0.7692 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.1474, allocations: 8.188 kB / 0.7693 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.1474, allocations: 47.81 kB / 0.7693 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.1475, allocations: 47.89 kB / 0.7693 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1476, allocations: 8 kB / 0.7694 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.1482, allocations: 0.5538 MB / 0.7699 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.1483, allocations: 79.75 kB / 0.77 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.1484, allocations: 67.36 kB / 0.77 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.1489, allocations: 0.5806 MB / 0.7706 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.149, allocations: 0 / 0.7706 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.149, allocations: 4 kB / 0.7706 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.149, allocations: 0 / 0.7706 GB, free: 4.066 MB / 0.5606 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.0005512/0.1495, allocations: 0.5626 MB / 0.7712 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.1496, allocations: 11.97 kB / 0.7712 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1496, allocations: 28.56 kB / 0.7712 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1498, allocations: 223.9 kB / 0.7714 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1498, allocations: 12.36 kB / 0.7714 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1499, allocations: 4.125 kB / 0.7714 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.1502, allocations: 308.9 kB / 0.7717 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1502, allocations: 0 / 0.7717 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1502, allocations: 3.984 kB / 0.7717 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.1503, allocations: 91.86 kB / 0.7718 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.1506, allocations: 248.4 kB / 0.772 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1519, allocations: 0.618 MB / 0.7726 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1521, allocations: 179.2 kB / 0.7728 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.1522, allocations: 169.1 kB / 0.773 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.1523, allocations: 0 / 0.773 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1523, allocations: 38.56 kB / 0.773 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.385e-06/0.1523, allocations: 4 kB / 0.773 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.000643/0.1529, allocations: 0.5283 MB / 0.7735 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.153, allocations: 81.05 kB / 0.7736 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.1532, allocations: 294.5 kB / 0.7739 GB, free: 500 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1533, allocations: 25.7 kB / 0.7739 GB, free: 468 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.1533, allocations: 140.7 kB / 0.7741 GB, free: 324 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.1534, allocations: 106.3 kB / 0.7742 GB, free: 216 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.1535, allocations: 45.69 kB / 0.7742 GB, free: 164 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2868/0.4403, allocations: 338.8 kB / 0.7745 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4406, allocations: 131 kB / 0.7746 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.4408, allocations: 133.9 kB / 0.7748 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.4412, allocations: 381.8 kB / 0.7751 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4412, allocations: 0 / 0.7751 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004443/0.4416, allocations: 384.2 kB / 0.7755 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4417, allocations: 32.25 kB / 0.7755 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.4417, allocations: 1.125 kB / 0.7755 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4417, allocations: 1.094 kB / 0.7755 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.4418, allocations: 2.969 kB / 0.7755 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.4418, allocations: 6 kB / 0.7755 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.4418, allocations: 21.56 kB / 0.7756 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.4419, allocations: 10.52 kB / 0.7756 GB, free: 15.29 MB / 0.5606 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.0001238/0.442, allocations: 182.8 kB / 0.7758 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.442, allocations: 22.62 kB / 0.7758 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.4421, allocations: 24.88 kB / 0.7758 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.585e-05/0.4421, allocations: 38.48 kB / 0.7758 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4422, allocations: 5.562 kB / 0.7758 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4422, allocations: 1.516 kB / 0.7758 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.4428, allocations: 294.9 kB / 0.7761 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4428, allocations: 0 / 0.7761 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.4428, allocations: 5.328 kB / 0.7761 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4428, allocations: 0.5938 kB / 0.7761 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4429, allocations: 4.328 kB / 0.7761 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4429, allocations: 6.625 kB / 0.7761 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4429, allocations: 0 / 0.7761 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.4434, allocations: 495 kB / 0.7766 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.4434, allocations: 108.8 kB / 0.7767 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4435, allocations: 5.953 kB / 0.7767 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.4435, allocations: 4.875 kB / 0.7767 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4436, allocations: 10.47 kB / 0.7767 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.4436, allocations: 11.95 kB / 0.7767 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001811/0.4438, allocations: 214.4 kB / 0.777 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4438, allocations: 5.406 kB / 0.777 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005025/0.4443, allocations: 167.6 kB / 0.7771 GB, free: 14.57 MB / 0.5606 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.0003835/0.4447, allocations: 207.4 kB / 0.7773 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.4451, allocations: 390 kB / 0.7777 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4451, allocations: 0 / 0.7777 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.4454, allocations: 235.5 kB / 0.7779 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.4456, allocations: 16.31 kB / 0.7779 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.4463, allocations: 0.585 MB / 0.7785 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.4465, allocations: 0.7746 MB / 0.7793 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.4466, allocations: 44.05 kB / 0.7793 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.4467, allocations: 22.73 kB / 0.7793 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4467, allocations: 0 / 0.7793 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.006487/0.4532, allocations: 3.601 MB / 0.7828 GB, free: 13.16 MB / 0.5606 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)