Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00116/0.00116, allocations: 190.7 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 299.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9725/0.9725, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 95.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4517, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002701/0.4544, allocations: 1.358 MB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.4566, allocations: 1.324 MB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.4567, allocations: 0 / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.927e-05/0.4568, allocations: 11.92 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.4584, allocations: 0.587 MB / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.24e-05/0.4584, allocations: 0 / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.4586, allocations: 103.7 kB / 0.7704 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.4586, allocations: 4.234 kB / 0.7704 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.4588, allocations: 55.75 kB / 0.7704 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.4589, allocations: 59.8 kB / 0.7705 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.459, allocations: 12 kB / 0.7705 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009715/0.4599, allocations: 0.7097 MB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.46, allocations: 59.8 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.4601, allocations: 51.61 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008297/0.461, allocations: 0.678 MB / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.461, allocations: 3.984 kB / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.461, allocations: 0 / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.461, allocations: 0 / 0.7719 GB, free: 14.88 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006455/0.4616, allocations: 0.4975 MB / 0.7724 GB, free: 14.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.4617, allocations: 8.031 kB / 0.7724 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.4618, allocations: 24.66 kB / 0.7725 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.462, allocations: 202.6 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4621, allocations: 8.359 kB / 0.7727 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.4621, allocations: 12.36 kB / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.4624, allocations: 198.8 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4624, allocations: 3.938 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.4625, allocations: 3.984 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/0.4626, allocations: 55.95 kB / 0.7729 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.4628, allocations: 144.2 kB / 0.7731 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.4637, allocations: 0.4965 MB / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.464, allocations: 82.59 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.4641, allocations: 56.81 kB / 0.7737 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.4641, allocations: 0 / 0.7737 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4641, allocations: 34.56 kB / 0.7737 GB, free: 12.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.4642, allocations: 0 / 0.7737 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0004059/0.4646, allocations: 185.3 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.4646, allocations: 51.41 kB / 0.7739 GB, free: 12.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.4649, allocations: 239.6 kB / 0.7742 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4649, allocations: 25.7 kB / 0.7742 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.465, allocations: 132.1 kB / 0.7743 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.465, allocations: 31.55 kB / 0.7744 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.4651, allocations: 33.62 kB / 0.7744 GB, free: 12.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4652, allocations: 334.8 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.4653, allocations: 43.95 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.4654, allocations: 71.39 kB / 0.7748 GB, free: 11.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.4656, allocations: 131.2 kB / 0.7749 GB, free: 11.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4656, allocations: 384 / 0.7749 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002788/0.4659, allocations: 169.2 kB / 0.7751 GB, free: 11.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4659, allocations: 4 kB / 0.7751 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4659, allocations: 4 kB / 0.7751 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4659, allocations: 0 / 0.7751 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4661, allocations: 16 kB / 0.7751 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.4661, allocations: 3.984 kB / 0.7751 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4662, allocations: 19.69 kB / 0.7751 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.4662, allocations: 12.09 kB / 0.7752 GB, free: 11.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001153/0.4664, allocations: 136.2 kB / 0.7753 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.4664, allocations: 15.81 kB / 0.7753 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.4667, allocations: 171 kB / 0.7755 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4667, allocations: 0 / 0.7755 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4667, allocations: 0 / 0.7755 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.4668, allocations: 104.8 kB / 0.7756 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.4668, allocations: 0 / 0.7756 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4669, allocations: 4 kB / 0.7756 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.467, allocations: 11.98 kB / 0.7756 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002641/0.4672, allocations: 228.8 kB / 0.7758 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000262/0.4675, allocations: 326.5 kB / 0.7761 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.17e-05/0.4676, allocations: 59.89 kB / 0.7762 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001355/0.4677, allocations: 176.4 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Backend: time 4.3e-07/0.4678, allocations: 7.938 kB / 0.7763 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009526/0.4687, allocations: 302.2 kB / 0.7766 GB, free: 9.77 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006617/0.4694, allocations: 0.7502 MB / 0.7774 GB, free: 8.969 MB / 0.545 GB Notification: Performance of Templates: time 0.007883/0.4773, allocations: 4.158 MB / 0.7814 GB, free: 4.844 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)