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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9461/0.9461, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 175.8 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 441.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009286/0.0009287, allocations: 95.14 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 274.2 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.186e-05/4.189e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4106, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.5495, allocations: 110.9 MB / 0.8726 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.5498, allocations: 84.55 kB / 0.8726 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01749/0.5673, allocations: 6.031 MB / 0.8785 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5673, allocations: 3.938 kB / 0.8785 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.5673, allocations: 4 kB / 0.8785 GB, free: 7.543 MB / 0.5417 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.0005587/0.5679, allocations: 0.4914 MB / 0.879 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.568, allocations: 8.031 kB / 0.879 GB, free: 7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.568, allocations: 15.81 kB / 0.879 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.5683, allocations: 206.7 kB / 0.8792 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.5683, allocations: 7.938 kB / 0.8792 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.5683, allocations: 15.94 kB / 0.8793 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.5686, allocations: 190.5 kB / 0.8794 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5687, allocations: 0 / 0.8794 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.5687, allocations: 11.98 kB / 0.8795 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.5688, allocations: 31.97 kB / 0.8795 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.569, allocations: 124.2 kB / 0.8796 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.5698, allocations: 0.4926 MB / 0.8801 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.57, allocations: 94.52 kB / 0.8802 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.5701, allocations: 48.89 kB / 0.8802 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.5701, allocations: 0 / 0.8802 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.5702, allocations: 38.55 kB / 0.8803 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.5702, allocations: 0 / 0.8803 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002904/0.5705, allocations: 145.4 kB / 0.8804 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.5705, allocations: 51.41 kB / 0.8804 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.5707, allocations: 213.9 kB / 0.8807 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.5707, allocations: 25.7 kB / 0.8807 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.5708, allocations: 128.1 kB / 0.8808 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.5708, allocations: 35.48 kB / 0.8808 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.5709, allocations: 0 / 0.8808 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.571, allocations: 326.8 kB / 0.8811 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.5711, allocations: 51.95 kB / 0.8812 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.5711, allocations: 67.41 kB / 0.8813 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.5712, allocations: 59.88 kB / 0.8813 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5713, allocations: 0 / 0.8813 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002361/0.5715, allocations: 165.4 kB / 0.8815 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5715, allocations: 5.406 kB / 0.8815 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5715, allocations: 4 kB / 0.8815 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5716, allocations: 3.953 kB / 0.8815 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.5716, allocations: 19.92 kB / 0.8815 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5717, allocations: 0 / 0.8815 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.5717, allocations: 23.73 kB / 0.8815 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.5718, allocations: 8 kB / 0.8815 GB, free: 4.25 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.631e-05/0.5718, allocations: 105 kB / 0.8816 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.5719, allocations: 15.83 kB / 0.8817 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.5722, allocations: 171.2 kB / 0.8818 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.5722, allocations: 4 kB / 0.8818 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5722, allocations: 3.953 kB / 0.8818 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5722, allocations: 4 kB / 0.8818 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.5725, allocations: 229.5 kB / 0.882 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5725, allocations: 0 / 0.882 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.5726, allocations: 11.98 kB / 0.8821 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5726, allocations: 0 / 0.8821 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.5726, allocations: 8 kB / 0.8821 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5727, allocations: 4.125 kB / 0.8821 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5727, allocations: 0 / 0.8821 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.573, allocations: 267 kB / 0.8823 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.573, allocations: 96.81 kB / 0.8824 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.5731, allocations: 4 kB / 0.8824 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.5731, allocations: 8.109 kB / 0.8824 GB, free: 3.238 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.5732, allocations: 8 kB / 0.8824 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.5732, allocations: 15.98 kB / 0.8824 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000148/0.5734, allocations: 172.3 kB / 0.8826 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5734, allocations: 0 / 0.8826 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007067/0.5741, allocations: 251.7 kB / 0.8829 GB, free: 2.801 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005289/0.5746, allocations: 284.9 kB / 0.8831 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.5749, allocations: 131.8 kB / 0.8833 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5749, allocations: 192 / 0.8833 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.575, allocations: 71.95 kB / 0.8833 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.5751, allocations: 9.016 kB / 0.8833 GB, free: 2.309 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.5756, allocations: 257.7 kB / 0.8836 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.5759, allocations: 0.7438 MB / 0.8843 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.576, allocations: 41.14 kB / 0.8843 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.5761, allocations: 19.42 kB / 0.8844 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5761, allocations: 0 / 0.8844 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of Templates: time 0.006575/0.5827, allocations: 3.757 MB / 0.888 GB, free: 13.48 MB / 0.5573 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)