Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001486/0.001486, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001812/0.001812, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.56 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2774, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.00565/0.2831, allocations: 4.315 MB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004474/0.2876, allocations: 2.643 MB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006136/0.2882, allocations: 16 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.2886, allocations: 59.34 kB / 1.075 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.2904, allocations: 464.4 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.2913, allocations: 411.5 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.2927, allocations: 1.299 MB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005478/0.2933, allocations: 398.2 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.2939, allocations: 0.5216 MB / 1.078 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006743/0.2946, allocations: 0.5797 MB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.2948, allocations: 124 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.2953, allocations: 299.8 kB / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.2955, allocations: 283.1 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.2959, allocations: 0.5405 MB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.2973, allocations: 1.418 MB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2973, allocations: 0 / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2973, allocations: 4 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.2973, allocations: 0 / 1.081 GB, free: 13.39 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.003223/0.3005, allocations: 1.354 MB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3006, allocations: 12.03 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.3008, allocations: 103.7 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.302, allocations: 0.7152 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.3021, allocations: 62.38 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.3022, allocations: 84.11 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.3038, allocations: 0.8846 MB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3038, allocations: 0 / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.3039, allocations: 32 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.3039, allocations: 16 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.3053, allocations: 0.6939 MB / 1.085 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.3094, allocations: 2.454 MB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/0.3136, allocations: 1.248 MB / 1.088 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/0.3143, allocations: 419.3 kB / 1.089 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.961e-05/0.3144, allocations: 27.97 kB / 1.089 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.3156, allocations: 0.6733 MB / 1.089 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=108): time 3.506e-06/0.3157, allocations: 4 kB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108): time 0.002636/0.3183, allocations: 1.286 MB / 1.091 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.3184, allocations: 140.5 kB / 1.091 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.319, allocations: 0.5145 MB / 1.091 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/0.3191, allocations: 49.7 kB / 1.091 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.3193, allocations: 301.1 kB / 1.091 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.3196, allocations: 339.2 kB / 1.092 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.3199, allocations: 186.5 kB / 1.092 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.32, allocations: 386.7 kB / 1.092 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.3207, allocations: 325.8 kB / 1.093 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.3214, allocations: 409.2 kB / 1.093 GB, free: 408 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3228, allocations: 0.7028 MB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.3228, allocations: 0 / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001793/0.3246, allocations: 0.9107 MB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3246, allocations: 7.984 kB / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3246, allocations: 0 / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3246, allocations: 4 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/0.3256, allocations: 203.7 kB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.3256, allocations: 4 kB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009746/0.3266, allocations: 139 kB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.3267, allocations: 43.95 kB / 1.095 GB, free: 14.37 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.0003761/0.3271, allocations: 258.9 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.3273, allocations: 75.06 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.33, allocations: 1.371 MB / 1.097 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.33, allocations: 12 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.33, allocations: 8 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.33, allocations: 11.91 kB / 1.097 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3312, allocations: 1.015 MB / 1.098 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3312, allocations: 0 / 1.098 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/0.3321, allocations: 215.6 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.3321, allocations: 4 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.3322, allocations: 39.97 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.3322, allocations: 7.984 kB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3322, allocations: 4 kB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.3343, allocations: 1.209 MB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.3347, allocations: 295.6 kB / 1.099 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.3348, allocations: 32 kB / 1.099 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.3356, allocations: 75.86 kB / 1.1 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.3359, allocations: 115.5 kB / 1.1 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/0.336, allocations: 55.95 kB / 1.1 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004406/0.3364, allocations: 390.8 kB / 1.1 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3364, allocations: 0 / 1.1 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00075/0.3372, allocations: 299.5 kB / 1.1 GB, free: 8.793 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.0006619/0.3379, allocations: 333.9 kB / 1.101 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.34, allocations: 0.9866 MB / 1.102 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.34, allocations: 0 / 1.102 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009668/0.3409, allocations: 0.5713 MB / 1.102 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.3414, allocations: 82.3 kB / 1.102 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.3443, allocations: 2.046 MB / 1.104 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.3448, allocations: 1.002 MB / 1.105 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006425/0.3454, allocations: 162.9 kB / 1.105 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.3458, allocations: 127.3 kB / 1.106 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of SimCode: time 6.71e-07/0.3458, allocations: 0 / 1.106 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of Templates: time 0.01942/0.3652, allocations: 11.57 MB / 1.117 GB, free: 7.988 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)