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.00147/0.00147, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00192/0.001921, allocations: 190.4 kB / 16.25 MB, free: 6.641 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 66.02 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3315, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.006634/0.3381, allocations: 4.315 MB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004992/0.3432, allocations: 2.643 MB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007492/0.3439, allocations: 12 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.3443, allocations: 67.28 kB / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.3464, allocations: 461.5 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3475, allocations: 407.6 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.3493, allocations: 1.303 MB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006686/0.35, allocations: 394.2 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009024/0.3509, allocations: 0.5177 MB / 1.078 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009266/0.3519, allocations: 0.5797 MB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.3522, allocations: 124 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.3529, allocations: 299.8 kB / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.3532, allocations: 287 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007626/0.3539, allocations: 0.5366 MB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.3556, allocations: 1.422 MB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3556, allocations: 0 / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3556, allocations: 0 / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.222e-05/0.3557, allocations: 4 kB / 1.081 GB, free: 13.41 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.003846/0.3595, allocations: 1.346 MB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3596, allocations: 12.03 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.3598, allocations: 103.7 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.3613, allocations: 0.7253 MB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.3614, allocations: 58.38 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.3615, allocations: 84.12 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.3633, allocations: 0.8846 MB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3633, allocations: 3.938 kB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.3634, allocations: 28 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.3634, allocations: 20 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.3649, allocations: 0.69 MB / 1.085 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.3695, allocations: 2.454 MB / 1.087 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.3739, allocations: 1.253 MB / 1.088 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009014/0.3749, allocations: 419.3 kB / 1.089 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.303e-05/0.375, allocations: 23.95 kB / 1.089 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.3764, allocations: 0.6739 MB / 1.089 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=108): time 4.208e-06/0.3765, allocations: 0 / 1.089 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108): time 0.003016/0.3795, allocations: 1.29 MB / 1.091 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.3796, allocations: 136.5 kB / 1.091 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009694/0.3806, allocations: 0.5145 MB / 1.091 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.3807, allocations: 49.7 kB / 1.091 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.381, allocations: 301.1 kB / 1.091 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.3814, allocations: 343.1 kB / 1.092 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.3818, allocations: 190.5 kB / 1.092 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.382, allocations: 382.7 kB / 1.092 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.3827, allocations: 325.8 kB / 1.093 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.3836, allocations: 405.2 kB / 1.093 GB, free: 424 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.3851, allocations: 0.699 MB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3851, allocations: 0 / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002082/0.3872, allocations: 0.9223 MB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.3872, allocations: 9.656 kB / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3872, allocations: 0 / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.3873, allocations: 4 kB / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.3883, allocations: 203.7 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/0.3883, allocations: 7.984 kB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3894, allocations: 131.1 kB / 1.095 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3895, allocations: 43.95 kB / 1.095 GB, free: 14.38 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.0005178/0.39, allocations: 254.9 kB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.3903, allocations: 75.06 kB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.3932, allocations: 1.371 MB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.3932, allocations: 16 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.3932, allocations: 12 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.3933, allocations: 11.91 kB / 1.097 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.3946, allocations: 1.011 MB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.3946, allocations: 0 / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008992/0.3955, allocations: 211.7 kB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/0.3956, allocations: 4 kB / 1.098 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.599e-05/0.3957, allocations: 47.89 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.3957, allocations: 4 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3957, allocations: 4 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.398, allocations: 1.202 MB / 1.099 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/0.3986, allocations: 295.6 kB / 1.099 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.3988, allocations: 35.98 kB / 1.099 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000856/0.3996, allocations: 67.94 kB / 1.1 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.3999, allocations: 123.4 kB / 1.1 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.4, allocations: 59.95 kB / 1.1 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000558/0.4006, allocations: 390.8 kB / 1.1 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4006, allocations: 0 / 1.1 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009434/0.4015, allocations: 299.5 kB / 1.1 GB, free: 8.805 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.0007938/0.4023, allocations: 329.9 kB / 1.101 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.4046, allocations: 0.9904 MB / 1.102 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4046, allocations: 0 / 1.102 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4056, allocations: 0.5713 MB / 1.102 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.4062, allocations: 82.3 kB / 1.102 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.4095, allocations: 2.05 MB / 1.104 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.4101, allocations: 1.002 MB / 1.105 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006554/0.4107, allocations: 162.9 kB / 1.105 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.4111, allocations: 127.3 kB / 1.106 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/0.4111, allocations: 0 / 1.106 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of Templates: time 0.02207/0.4332, allocations: 11.56 MB / 1.117 GB, free: 7.996 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)