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.001249/0.001249, allocations: 106.5 kB / 16.41 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.001107/0.001107, allocations: 187 kB / 17.34 MB, free: 5.742 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.405/1.405, 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.002177/0.002177, allocations: 287.9 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.9799/0.9799, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4199, allocations: 86.98 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002697/0.4226, allocations: 1.35 MB / 0.7684 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002545/0.4252, allocations: 1.327 MB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.4253, allocations: 0 / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.4254, allocations: 11.92 kB / 0.7697 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.4269, allocations: 0.587 MB / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.203e-05/0.4269, allocations: 0 / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.427, allocations: 107.6 kB / 0.7703 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4271, allocations: 4.234 kB / 0.7703 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.4272, allocations: 59.69 kB / 0.7704 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.4274, allocations: 59.8 kB / 0.7705 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.4274, allocations: 8 kB / 0.7705 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009616/0.4284, allocations: 0.7058 MB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.4285, allocations: 63.81 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.4286, allocations: 55.59 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.4296, allocations: 0.6819 MB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4296, allocations: 0 / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4296, allocations: 0 / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.4297, allocations: 0 / 0.7719 GB, free: 14.86 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.0006234/0.4303, allocations: 0.4897 MB / 0.7724 GB, free: 14.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4303, allocations: 8.031 kB / 0.7724 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.987e-05/0.4304, allocations: 20.66 kB / 0.7724 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.4307, allocations: 208 kB / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4307, allocations: 8.375 kB / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.4307, allocations: 16.34 kB / 0.7727 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.431, allocations: 202.8 kB / 0.7729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.4311, allocations: 0 / 0.7729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4311, allocations: 0 / 0.7729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-05/0.4312, allocations: 51.95 kB / 0.7729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.4314, allocations: 148.2 kB / 0.7731 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008211/0.4322, allocations: 0.4926 MB / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.4324, allocations: 86.59 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/0.4325, allocations: 56.81 kB / 0.7737 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4326, allocations: 0 / 0.7737 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4326, allocations: 30.56 kB / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.926e-06/0.4326, allocations: 0 / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003498/0.433, allocations: 185.3 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.433, allocations: 59.41 kB / 0.7739 GB, free: 12.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4332, allocations: 235.6 kB / 0.7742 GB, free: 12.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4333, allocations: 33.69 kB / 0.7742 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.4334, allocations: 132 kB / 0.7743 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.4334, allocations: 31.55 kB / 0.7743 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.4335, allocations: 25.98 kB / 0.7744 GB, free: 12.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4337, allocations: 330.8 kB / 0.7747 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.4338, allocations: 43.95 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.4339, allocations: 79.33 kB / 0.7748 GB, free: 11.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.434, allocations: 123.3 kB / 0.7749 GB, free: 11.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.434, allocations: 0 / 0.7749 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00024/0.4343, allocations: 169.3 kB / 0.7751 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4343, allocations: 4 kB / 0.7751 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4343, allocations: 7.938 kB / 0.7751 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4343, allocations: 0 / 0.7751 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4345, allocations: 15.98 kB / 0.7751 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4345, allocations: 3.938 kB / 0.7751 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.4346, allocations: 19.75 kB / 0.7751 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.4346, allocations: 8 kB / 0.7751 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.0001391/0.4347, allocations: 144.2 kB / 0.7753 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.4348, allocations: 15.81 kB / 0.7753 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.4351, allocations: 163 kB / 0.7754 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.4351, allocations: 7.984 kB / 0.7755 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4351, allocations: 3.938 kB / 0.7755 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4351, allocations: 0 / 0.7755 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.4355, allocations: 233.5 kB / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4355, allocations: 0 / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.4356, allocations: 15.94 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4356, allocations: 4 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4356, allocations: 4 kB / 0.7757 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4357, allocations: 0 / 0.7757 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4357, allocations: 3.938 kB / 0.7757 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.436, allocations: 259.4 kB / 0.776 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.4361, allocations: 97 kB / 0.776 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.4361, allocations: 7.938 kB / 0.7761 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.4362, allocations: 4.125 kB / 0.7761 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.4362, allocations: 15.94 kB / 0.7761 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.4362, allocations: 7.984 kB / 0.7761 GB, free: 10.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001563/0.4364, allocations: 180.3 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4364, allocations: 0 / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005361/0.437, allocations: 216 kB / 0.7765 GB, free: 9.883 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 (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 Backend phase and start with SimCode phase: time 0.0004982/0.4375, allocations: 235.2 kB / 0.7767 GB, free: 9.645 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.4377, allocations: 131.8 kB / 0.7768 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4377, allocations: 8.125 kB / 0.7768 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4378, allocations: 75.88 kB / 0.7769 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.4381, allocations: 12 kB / 0.7769 GB, free: 9.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.4387, allocations: 376.5 kB / 0.7773 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.439, allocations: 0.7396 MB / 0.778 GB, free: 8.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.439, allocations: 23.42 kB / 0.778 GB, free: 8.23 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.4391, allocations: 0 / 0.778 GB, free: 8.23 MB / 0.545 GB Notification: Performance of Templates: time 0.006842/0.4459, allocations: 3.857 MB / 0.7818 GB, free: 4.371 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)