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.001568/0.001568, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001765/0.001766, allocations: 187 kB / 17.34 MB, free: 5.766 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.403/1.403, allocations: 222.9 MB / 241 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.002159/0.002159, allocations: 301.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9777/0.9777, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4516, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002394/0.454, allocations: 1.319 MB / 0.7683 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.4559, allocations: 1.084 MB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.4559, allocations: 3.938 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.73e-05/0.4561, allocations: 15.91 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.4573, allocations: 489.5 kB / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.504e-05/0.4573, allocations: 0 / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.4575, allocations: 107.6 kB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.4575, allocations: 4.188 kB / 0.77 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.4576, allocations: 43.83 kB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.4577, allocations: 59.81 kB / 0.7701 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.4578, allocations: 4 kB / 0.7701 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008039/0.4586, allocations: 0.5577 MB / 0.7706 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.4587, allocations: 77.53 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.4588, allocations: 63.36 kB / 0.7708 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007126/0.4595, allocations: 0.5882 MB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4595, allocations: 4 kB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4595, allocations: 0 / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.4595, 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.0006895/0.4602, allocations: 0.5495 MB / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4603, allocations: 8.031 kB / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.4603, allocations: 20.66 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.4606, allocations: 243.7 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.4606, allocations: 8.359 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4606, allocations: 12.06 kB / 0.7722 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.461, allocations: 312.9 kB / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.461, allocations: 0 / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4611, allocations: 0 / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.4612, allocations: 87.86 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.4615, allocations: 244.4 kB / 0.7728 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.4628, allocations: 0.6181 MB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.4631, allocations: 182.8 kB / 0.7735 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.4633, allocations: 165.1 kB / 0.7737 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.4633, allocations: 3.984 kB / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4633, allocations: 38.55 kB / 0.7737 GB, free: 12.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.4633, allocations: 0 / 0.7737 GB, free: 12.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0007339/0.4641, allocations: 0.5322 MB / 0.7743 GB, free: 12.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.4641, allocations: 77.11 kB / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.4644, allocations: 294.5 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4644, allocations: 33.69 kB / 0.7747 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.4645, allocations: 128.8 kB / 0.7748 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.4646, allocations: 110.3 kB / 0.7749 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.4647, allocations: 41.69 kB / 0.7749 GB, free: 11.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4649, allocations: 342.8 kB / 0.7752 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.465, allocations: 131.9 kB / 0.7754 GB, free: 11.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.4652, allocations: 132.5 kB / 0.7755 GB, free: 11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.4655, allocations: 385.4 kB / 0.7759 GB, free: 10.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4655, allocations: 0 / 0.7759 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000425/0.466, allocations: 391.2 kB / 0.7762 GB, free: 10.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.466, allocations: 33.64 kB / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.466, allocations: 3.938 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4661, allocations: 0 / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.4661, allocations: 4 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4661, allocations: 3.938 kB / 0.7763 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.4662, allocations: 19.69 kB / 0.7763 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.4662, allocations: 12 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.0001501/0.4664, allocations: 181.9 kB / 0.7765 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.4664, allocations: 31.62 kB / 0.7765 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.4665, allocations: 22.95 kB / 0.7765 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.955e-05/0.4665, allocations: 39.97 kB / 0.7766 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4666, allocations: 3.938 kB / 0.7766 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4666, allocations: 0 / 0.7766 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.4672, allocations: 293.4 kB / 0.7769 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4672, allocations: 0 / 0.7769 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.4673, allocations: 3.938 kB / 0.7769 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4673, allocations: 4 kB / 0.7769 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4673, allocations: 4 kB / 0.7769 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4673, allocations: 4 kB / 0.7769 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.4673, allocations: 3.938 kB / 0.7769 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.4678, allocations: 498.3 kB / 0.7774 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.4679, allocations: 108.8 kB / 0.7775 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.4679, allocations: 0 / 0.7775 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.468, allocations: 0 / 0.7775 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.468, allocations: 7.938 kB / 0.7775 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.4681, allocations: 15.98 kB / 0.7775 GB, free: 8.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002049/0.4683, allocations: 221.9 kB / 0.7777 GB, free: 8.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4683, allocations: 0 / 0.7777 GB, free: 8.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005349/0.4688, allocations: 164 kB / 0.7778 GB, free: 8.453 MB / 0.545 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.0004604/0.4693, allocations: 215 kB / 0.7781 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.4698, allocations: 391.1 kB / 0.7784 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4698, allocations: 0 / 0.7784 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.47, allocations: 231.3 kB / 0.7786 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.4703, allocations: 19.88 kB / 0.7787 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008783/0.4712, allocations: 0.6152 MB / 0.7793 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4716, allocations: 0.7715 MB / 0.78 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.4716, allocations: 31.36 kB / 0.78 GB, free: 6.105 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4716, allocations: 0 / 0.78 GB, free: 6.105 MB / 0.545 GB Notification: Performance of Templates: time 0.006255/0.4779, allocations: 3.861 MB / 0.7838 GB, free: 2.246 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)