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.77/0.77, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 180.9 kB / 182.2 MB, free: 9.457 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.365/1.365, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0008833/0.0008832, allocations: 88.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 279.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.955e-05, allocations: 0 / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3813, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.5114, allocations: 110.2 MB / 0.865 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5117, allocations: 82.33 kB / 0.8651 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.5306, allocations: 6.016 MB / 0.871 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5306, allocations: 0 / 0.871 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.5306, allocations: 4 kB / 0.871 GB, free: 11.53 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.0007259/0.5314, allocations: 497.8 kB / 0.8715 GB, free: 11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5314, allocations: 8.031 kB / 0.8715 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.5315, allocations: 15.81 kB / 0.8715 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.5318, allocations: 206.7 kB / 0.8717 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.5318, allocations: 11.95 kB / 0.8717 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.5318, allocations: 4 kB / 0.8717 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002638/0.5321, allocations: 148.2 kB / 0.8718 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.5324, allocations: 186.5 kB / 0.872 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5324, allocations: 0 / 0.872 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.5324, allocations: 0 / 0.872 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.009e-05/0.5325, allocations: 35.97 kB / 0.872 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007781/0.5333, allocations: 429 kB / 0.8725 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.5335, allocations: 82.58 kB / 0.8725 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.5336, allocations: 52.83 kB / 0.8726 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.5336, allocations: 7.984 kB / 0.8726 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.5336, allocations: 38.59 kB / 0.8726 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.5337, allocations: 4 kB / 0.8726 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0003167/0.534, allocations: 129.4 kB / 0.8728 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.534, allocations: 59.39 kB / 0.8728 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.5342, allocations: 132 kB / 0.8729 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.5342, allocations: 25.7 kB / 0.873 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.5343, allocations: 132 kB / 0.8731 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.5343, allocations: 31.55 kB / 0.8731 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.5343, allocations: 0 / 0.8731 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5344, allocations: 322.8 kB / 0.8734 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.5345, allocations: 51.91 kB / 0.8735 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.5346, allocations: 71.39 kB / 0.8735 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.5347, allocations: 47.95 kB / 0.8736 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5347, allocations: 0 / 0.8736 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002407/0.535, allocations: 157.5 kB / 0.8737 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.535, allocations: 8.625 kB / 0.8737 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.535, allocations: 0 / 0.8737 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.535, allocations: 3.938 kB / 0.8737 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.5351, allocations: 12 kB / 0.8738 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5351, allocations: 7.906 kB / 0.8738 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.5352, allocations: 11.8 kB / 0.8738 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.5352, allocations: 11.98 kB / 0.8738 GB, free: 8.434 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 7.354e-05/0.5353, allocations: 109 kB / 0.8739 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.5354, allocations: 7.906 kB / 0.8739 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.5356, allocations: 158.1 kB / 0.8741 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.5357, allocations: 7.984 kB / 0.8741 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5357, allocations: 0 / 0.8741 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5357, allocations: 0 / 0.8741 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.536, allocations: 206 kB / 0.8743 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.536, allocations: 0 / 0.8743 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.023e-05/0.5361, allocations: 19.98 kB / 0.8743 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5361, allocations: 0 / 0.8743 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5361, allocations: 8 kB / 0.8743 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5361, allocations: 0 / 0.8743 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5361, allocations: 0 / 0.8743 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.5364, allocations: 247.2 kB / 0.8745 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.5365, allocations: 92.91 kB / 0.8746 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.5365, allocations: 0 / 0.8746 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.5366, allocations: 0 / 0.8746 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.5366, allocations: 7.984 kB / 0.8746 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.5366, allocations: 12.12 kB / 0.8746 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.5367, allocations: 110.3 kB / 0.8747 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5367, allocations: 0 / 0.8747 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006638/0.5374, allocations: 255.6 kB / 0.875 GB, free: 7.141 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.0006321/0.538, allocations: 286.8 kB / 0.8752 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.5382, allocations: 123.9 kB / 0.8754 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5382, allocations: 0 / 0.8754 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.5383, allocations: 72.08 kB / 0.8754 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.5385, allocations: 16.98 kB / 0.8755 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.5389, allocations: 229.2 kB / 0.8757 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5393, allocations: 0.7469 MB / 0.8764 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.5394, allocations: 32.59 kB / 0.8764 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.5394, allocations: 19.42 kB / 0.8765 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.5395, allocations: 0 / 0.8765 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of Templates: time 0.006567/0.546, allocations: 3.512 MB / 0.8799 GB, free: 2.098 MB / 0.5417 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)