Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001892/0.001892, allocations: 191.5 kB / 16.14 MB, free: 6.688 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 61.16 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3229, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005556/0.3285, allocations: 4.319 MB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004168/0.3327, allocations: 2.663 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.3331, allocations: 12 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3333, allocations: 63.34 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.3347, allocations: 441.4 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.3354, allocations: 411.5 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.3364, allocations: 1.217 MB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.337, allocations: 386.2 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.3376, allocations: 450.1 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.3382, allocations: 0.5343 MB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3384, allocations: 55.94 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.3388, allocations: 215.9 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.339, allocations: 215 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.3395, allocations: 485.4 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.3406, allocations: 1.371 MB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3406, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3407, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.3407, allocations: 4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003229/0.3439, allocations: 1.348 MB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.344, allocations: 12.03 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.3442, allocations: 99.72 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.3455, allocations: 0.7099 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-05/0.3456, allocations: 62.31 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.3457, allocations: 84.12 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3472, allocations: 0.8846 MB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.3472, allocations: 0 / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.3473, allocations: 28 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3474, allocations: 20 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3488, allocations: 0.69 MB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00421/0.353, allocations: 2.466 MB / 1.086 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/0.3571, allocations: 1.243 MB / 1.087 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/0.3579, allocations: 423.2 kB / 1.088 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-05/0.358, allocations: 23.97 kB / 1.088 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/0.3592, allocations: 0.6777 MB / 1.089 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=108): time 2.865e-06/0.3592, allocations: 0 / 1.089 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108): time 0.002747/0.362, allocations: 1.29 MB / 1.09 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.3621, allocations: 140.5 kB / 1.09 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.3628, allocations: 0.5145 MB / 1.09 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.3628, allocations: 49.7 kB / 1.09 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.3631, allocations: 301.1 kB / 1.091 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.3634, allocations: 335.2 kB / 1.091 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.3637, allocations: 182.5 kB / 1.091 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3638, allocations: 390.7 kB / 1.092 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.3646, allocations: 325.8 kB / 1.092 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007513/0.3653, allocations: 401.2 kB / 1.092 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.3668, allocations: 0.7028 MB / 1.093 GB, free: 336 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3668, allocations: 4 kB / 1.093 GB, free: 332 kB / 0.8419 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001933/0.3687, allocations: 0.9146 MB / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3687, allocations: 8 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3688, allocations: 0 / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3688, allocations: 4 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009877/0.3698, allocations: 203.7 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.594e-05/0.3698, allocations: 11.92 kB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.3709, allocations: 131.1 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.371, allocations: 43.95 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 (proShaLenEas.solAzi.outsidePolarCircle,proShaLenEas.decAng.tNext,$PRE.proShaLenEas.decAng.tNext,proShaLenEas.eqnTim.tNext,$PRE.proShaLenEas.eqnTim.tNext,proShaLenEas.locTim.tNext,$PRE.proShaLenEas.locTim.tNext,$whenCondition10,$whenCondition11,$whenCondition12,proShaLenSou.solAzi.outsidePolarCircle,proShaLenSou.decAng.tNext,$PRE.proShaLenSou.decAng.tNext,proShaLenSou.eqnTim.tNext,$PRE.proShaLenSou.eqnTim.tNext,proShaLenSou.locTim.tNext,$PRE.proShaLenSou.locTim.tNext,$whenCondition7,$whenCondition8,$whenCondition9,proShaLenWes.solAzi.outsidePolarCircle,proShaLenWes.decAng.tNext,$PRE.proShaLenWes.decAng.tNext,proShaLenWes.eqnTim.tNext,$PRE.proShaLenWes.eqnTim.tNext,proShaLenWes.locTim.tNext,$PRE.proShaLenWes.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,proShaLenNor.solAzi.outsidePolarCircle,proShaLenNor.decAng.tNext,$PRE.proShaLenNor.decAng.tNext,proShaLenNor.eqnTim.tNext,$PRE.proShaLenNor.eqnTim.tNext,proShaLenNor.locTim.tNext,$PRE.proShaLenNor.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 124 * Array equations: 0 * 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.0003774/0.3713, allocations: 250.9 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.3715, allocations: 83 kB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.3744, allocations: 1.371 MB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.3744, allocations: 16 kB / 1.096 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.3744, allocations: 4 kB / 1.096 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.3745, allocations: 15.91 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3758, allocations: 1.015 MB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.3758, allocations: 3.938 kB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/0.3767, allocations: 211.7 kB / 1.097 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/0.3767, allocations: 4 kB / 1.097 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.3768, allocations: 43.95 kB / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.3768, allocations: 4 kB / 1.097 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3769, allocations: 4 kB / 1.097 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.3791, allocations: 1.206 MB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.3795, allocations: 295.6 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3797, allocations: 35.98 kB / 1.099 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/0.3806, allocations: 67.94 kB / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.3808, allocations: 119.5 kB / 1.099 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.917e-05/0.3809, allocations: 51.97 kB / 1.099 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004656/0.3814, allocations: 390.8 kB / 1.099 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3814, allocations: 4 kB / 1.099 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008336/0.3822, allocations: 299.5 kB / 1.1 GB, free: 9.43 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition12,$whenCondition11,$whenCondition10,proShaLenEas.locTim.tNext,proShaLenEas.eqnTim.tNext,proShaLenEas.decAng.tNext,$whenCondition9,$whenCondition8,$whenCondition7,proShaLenSou.locTim.tNext,proShaLenSou.eqnTim.tNext,proShaLenSou.decAng.tNext,$whenCondition6,$whenCondition5,$whenCondition4,proShaLenWes.locTim.tNext,proShaLenWes.eqnTim.tNext,proShaLenWes.decAng.tNext,$whenCondition3,$whenCondition2,$whenCondition1,proShaLenNor.locTim.tNext,proShaLenNor.eqnTim.tNext,proShaLenNor.decAng.tNext) * Number of discrete states: 12 (proShaLenNor.locTim.tNext,proShaLenNor.eqnTim.tNext,proShaLenNor.decAng.tNext,proShaLenWes.locTim.tNext,proShaLenWes.eqnTim.tNext,proShaLenWes.decAng.tNext,proShaLenSou.locTim.tNext,proShaLenSou.eqnTim.tNext,proShaLenSou.decAng.tNext,proShaLenEas.locTim.tNext,proShaLenEas.eqnTim.tNext,proShaLenEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0007448/0.383, allocations: 341.4 kB / 1.1 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.3848, allocations: 0.9243 MB / 1.101 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3849, allocations: 0 / 1.101 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3859, allocations: 0.5713 MB / 1.101 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.3864, allocations: 82.3 kB / 1.101 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.3894, allocations: 2.033 MB / 1.103 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.39, allocations: 1.006 MB / 1.104 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006365/0.3907, allocations: 154.9 kB / 1.105 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.391, allocations: 123.4 kB / 1.105 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of SimCode: time 7.52e-07/0.3911, allocations: 0 / 1.105 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.01952/0.4106, allocations: 11.08 MB / 1.116 GB, free: 9.184 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)