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.004605/0.004605, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001041/0.001041, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 284.3 kB / 290.8 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.9043/0.9043, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 99.84 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4323, allocations: 86.98 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002175/0.4345, allocations: 1.35 MB / 0.7677 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4364, allocations: 1.331 MB / 0.769 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.4365, allocations: 0 / 0.769 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.4366, allocations: 15.84 kB / 0.769 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.4378, allocations: 0.5792 MB / 0.7696 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.039e-05/0.4378, allocations: 0 / 0.7696 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.4379, allocations: 107.6 kB / 0.7697 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.438, allocations: 4.234 kB / 0.7697 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.4381, allocations: 51.78 kB / 0.7697 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.4382, allocations: 67.73 kB / 0.7698 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.4383, allocations: 4 kB / 0.7698 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00082/0.4391, allocations: 0.7137 MB / 0.7705 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.4392, allocations: 59.81 kB / 0.7706 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.4392, allocations: 47.61 kB / 0.7706 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.4399, allocations: 0.6857 MB / 0.7713 GB, free: 14.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.44, allocations: 0 / 0.7713 GB, free: 14.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.44, allocations: 0 / 0.7713 GB, free: 14.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.44, allocations: 0 / 0.7713 GB, free: 14.89 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.0005138/0.4405, allocations: 497.5 kB / 0.7718 GB, free: 14.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4405, allocations: 16.03 kB / 0.7718 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.4406, allocations: 24.58 kB / 0.7718 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.4408, allocations: 200.1 kB / 0.772 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4408, allocations: 8.375 kB / 0.772 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.4408, allocations: 8.359 kB / 0.772 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.4411, allocations: 210.8 kB / 0.7722 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.4411, allocations: 0 / 0.7722 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.4411, allocations: 0 / 0.7722 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.88e-05/0.4412, allocations: 43.95 kB / 0.7722 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.4414, allocations: 152.2 kB / 0.7724 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.4422, allocations: 0.4926 MB / 0.7729 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.4424, allocations: 90.52 kB / 0.773 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.4425, allocations: 48.83 kB / 0.773 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4425, allocations: 4 kB / 0.773 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4426, allocations: 38.56 kB / 0.773 GB, free: 12.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.4426, allocations: 0 / 0.773 GB, free: 12.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003258/0.4429, allocations: 189.3 kB / 0.7732 GB, free: 12.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.443, allocations: 51.41 kB / 0.7733 GB, free: 12.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.4432, allocations: 239.6 kB / 0.7735 GB, free: 12.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4432, allocations: 25.7 kB / 0.7735 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.4433, allocations: 140.1 kB / 0.7737 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.4433, allocations: 27.55 kB / 0.7737 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.4434, allocations: 33.7 kB / 0.7737 GB, free: 12.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4435, allocations: 322.8 kB / 0.774 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.4436, allocations: 47.97 kB / 0.7741 GB, free: 11.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.261e-05/0.4437, allocations: 71.39 kB / 0.7741 GB, free: 11.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.4439, allocations: 127.3 kB / 0.7743 GB, free: 11.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.4439, allocations: 0 / 0.7743 GB, free: 11.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002238/0.4441, allocations: 169.2 kB / 0.7744 GB, free: 11.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4441, allocations: 4 kB / 0.7744 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4441, allocations: 0 / 0.7744 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4442, allocations: 4 kB / 0.7744 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.4442, allocations: 15.98 kB / 0.7744 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4443, allocations: 7.875 kB / 0.7744 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.4443, allocations: 23.84 kB / 0.7745 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.4444, allocations: 12.36 kB / 0.7745 GB, free: 11.36 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.0001037/0.4445, allocations: 129.8 kB / 0.7746 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.4445, allocations: 15.81 kB / 0.7746 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.4448, allocations: 178.9 kB / 0.7748 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.4448, allocations: 4 kB / 0.7748 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4448, allocations: 3.938 kB / 0.7748 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4448, allocations: 0 / 0.7748 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.4451, allocations: 237.5 kB / 0.775 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4451, allocations: 0 / 0.775 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.4452, allocations: 15.98 kB / 0.775 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4452, allocations: 0 / 0.775 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4452, allocations: 4 kB / 0.775 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4452, allocations: 3.938 kB / 0.775 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4453, allocations: 3.938 kB / 0.7751 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4455, allocations: 255.1 kB / 0.7753 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.4456, allocations: 96.92 kB / 0.7754 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.4456, allocations: 0 / 0.7754 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.4457, allocations: 4.125 kB / 0.7754 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.4457, allocations: 19.91 kB / 0.7754 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.4458, allocations: 8 kB / 0.7754 GB, free: 10.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001428/0.4459, allocations: 176.4 kB / 0.7756 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4459, allocations: 0 / 0.7756 GB, free: 10.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005405/0.4465, allocations: 212 kB / 0.7758 GB, free: 9.914 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.0004814/0.447, allocations: 247.1 kB / 0.776 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4472, allocations: 135.8 kB / 0.7762 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4472, allocations: 0 / 0.7762 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.4473, allocations: 75.88 kB / 0.7762 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.4475, allocations: 14.23 kB / 0.7762 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.4481, allocations: 342.1 kB / 0.7766 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4484, allocations: 0.7398 MB / 0.7773 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.4485, allocations: 41.44 kB / 0.7773 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.4486, allocations: 19.42 kB / 0.7773 GB, free: 8.262 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4486, allocations: 0 / 0.7773 GB, free: 8.262 MB / 0.545 GB Notification: Performance of Templates: time 0.006531/0.4551, allocations: 3.811 MB / 0.7811 GB, free: 4.484 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)