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.001407/0.001407, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001608/0.001608, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 295.7 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001936, allocations: 95.72 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1507, allocations: 86.98 MB / 0.6808 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002456/0.1532, allocations: 1.348 MB / 0.6822 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1552, allocations: 1.314 MB / 0.6834 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1552, allocations: 3.938 kB / 0.6834 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.891e-05/0.1553, allocations: 15.86 kB / 0.6835 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.1567, allocations: 0.587 MB / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.475e-05/0.1567, allocations: 3.984 kB / 0.684 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1568, allocations: 107.7 kB / 0.6841 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.1569, allocations: 4.234 kB / 0.6841 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.157, allocations: 47.83 kB / 0.6842 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1571, allocations: 67.67 kB / 0.6843 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1572, allocations: 4 kB / 0.6843 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008935/0.1581, allocations: 0.7098 MB / 0.6849 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.1581, allocations: 60.58 kB / 0.685 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.1582, allocations: 51.55 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008164/0.159, allocations: 0.6786 MB / 0.6857 GB, free: 3.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1591, allocations: 3.938 kB / 0.6857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1591, allocations: 0 / 0.6857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1591, allocations: 0 / 0.6857 GB, free: 3.137 MB / 494.1 MB 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.0006134/0.1597, allocations: 0.495 MB / 0.6862 GB, free: 2.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1597, allocations: 8.031 kB / 0.6862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.1598, allocations: 16.75 kB / 0.6862 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.16, allocations: 210 kB / 0.6864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.16, allocations: 4.375 kB / 0.6864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.16, allocations: 12.36 kB / 0.6864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.1603, allocations: 208 kB / 0.6866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1603, allocations: 0 / 0.6866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1603, allocations: 3.984 kB / 0.6866 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.479e-05/0.1604, allocations: 51.95 kB / 0.6867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.1606, allocations: 140.2 kB / 0.6868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.1614, allocations: 0.4964 MB / 0.6873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.1616, allocations: 94.52 kB / 0.6874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.1617, allocations: 52.83 kB / 0.6875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1618, allocations: 0 / 0.6875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1618, allocations: 34.56 kB / 0.6875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1618, allocations: 0 / 0.6875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000342/0.1621, allocations: 189.3 kB / 0.6877 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1622, allocations: 59.34 kB / 0.6877 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1624, allocations: 243.5 kB / 0.688 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1624, allocations: 25.7 kB / 0.688 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.1625, allocations: 128.2 kB / 0.6881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.1625, allocations: 35.53 kB / 0.6881 GB, free: 476 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1626, allocations: 25.72 kB / 0.6882 GB, free: 444 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1627, allocations: 330.8 kB / 0.6885 GB, free: 104 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/0.1628, allocations: 43.97 kB / 0.6885 GB, free: 60 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.257/0.4197, allocations: 72.83 kB / 0.6886 GB, free: 17.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.42, allocations: 122.7 kB / 0.6887 GB, free: 17.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.42, allocations: 0 / 0.6887 GB, free: 17.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003082/0.4204, allocations: 164.5 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4204, allocations: 7.469 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4204, allocations: 0.875 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4204, allocations: 5.516 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4206, allocations: 17.14 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4206, allocations: 10.84 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.849e-05/0.4207, allocations: 15.2 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.4207, allocations: 8.703 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB 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 9.084e-05/0.4208, allocations: 132.2 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.4208, allocations: 16.66 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.4211, allocations: 171.5 kB / 0.6892 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.4212, allocations: 9.75 kB / 0.6892 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4212, allocations: 2.281 kB / 0.6892 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4212, allocations: 1.531 kB / 0.6892 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.4215, allocations: 235 kB / 0.6895 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4215, allocations: 3.562 kB / 0.6895 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.784e-05/0.4216, allocations: 11.58 kB / 0.6895 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4216, allocations: 1.406 kB / 0.6895 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4216, allocations: 2.594 kB / 0.6895 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4216, allocations: 1.828 kB / 0.6895 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4216, allocations: 1.5 kB / 0.6895 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4219, allocations: 257.4 kB / 0.6897 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.4219, allocations: 96.61 kB / 0.6898 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.4219, allocations: 6.516 kB / 0.6898 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.422, allocations: 0.875 kB / 0.6898 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.4221, allocations: 7.172 kB / 0.6898 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.4221, allocations: 7.938 kB / 0.6899 GB, free: 17.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4222, allocations: 176.6 kB / 0.69 GB, free: 17.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4222, allocations: 1.312 kB / 0.69 GB, free: 17.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005695/0.4228, allocations: 214.6 kB / 0.6902 GB, free: 17.16 MB / 494.1 MB 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.0004572/0.4233, allocations: 252 kB / 0.6905 GB, free: 17.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.4235, allocations: 140.5 kB / 0.6906 GB, free: 17.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4236, allocations: 3.719 kB / 0.6906 GB, free: 17.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4237, allocations: 71.48 kB / 0.6907 GB, free: 17.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.4239, allocations: 11.39 kB / 0.6907 GB, free: 17.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.4245, allocations: 381.1 kB / 0.691 GB, free: 16.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.4246, allocations: 0.7359 MB / 0.6918 GB, free: 16.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.4247, allocations: 27.06 kB / 0.6918 GB, free: 16.17 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4247, allocations: 0 / 0.6918 GB, free: 16.17 MB / 494.1 MB Notification: Performance of Templates: time 0.007227/0.4319, allocations: 3.827 MB / 0.6955 GB, free: 15.96 MB / 494.1 MB 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)