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.001588/0.001588, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 62 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3316, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005638/0.3373, allocations: 4.314 MB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005252/0.3426, allocations: 2.694 MB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.343, allocations: 8 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.3433, allocations: 98.72 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.345, allocations: 0.5201 MB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.3459, allocations: 447.3 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.347, allocations: 1.299 MB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.3476, allocations: 406.2 kB / 1.078 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007087/0.3483, allocations: 0.5138 MB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.3491, allocations: 0.5796 MB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.3493, allocations: 124 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.3498, allocations: 307.8 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.3501, allocations: 287 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.3506, allocations: 0.5366 MB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3519, allocations: 1.422 MB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3519, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3519, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.352, allocations: 0 / 1.081 GB, free: 12.84 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.003148/0.3551, allocations: 1.356 MB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3552, allocations: 8.031 kB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.3554, allocations: 103.7 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.3567, allocations: 0.7114 MB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.3568, allocations: 62.38 kB / 1.084 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.3569, allocations: 80.12 kB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.3584, allocations: 0.8807 MB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.3585, allocations: 0 / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/0.3586, allocations: 32 kB / 1.085 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.3586, allocations: 20 kB / 1.085 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.36, allocations: 0.69 MB / 1.085 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.3642, allocations: 2.458 MB / 1.088 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/0.3683, allocations: 1.249 MB / 1.089 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/0.369, allocations: 429.8 kB / 1.089 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.669e-05/0.3691, allocations: 23.97 kB / 1.089 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/0.3703, allocations: 0.6778 MB / 1.09 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=108): time 3.096e-06/0.3703, allocations: 0 / 1.09 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108): time 0.002745/0.3731, allocations: 1.282 MB / 1.091 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.3732, allocations: 140.5 kB / 1.091 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.3739, allocations: 0.5224 MB / 1.092 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.064e-05/0.374, allocations: 45.7 kB / 1.092 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.3742, allocations: 305.1 kB / 1.092 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.3745, allocations: 335.2 kB / 1.092 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.3748, allocations: 186.5 kB / 1.093 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.375, allocations: 386.7 kB / 1.093 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/0.3756, allocations: 321.8 kB / 1.093 GB, free: 280 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/0.3763, allocations: 409.2 kB / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.3777, allocations: 0.695 MB / 1.094 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3777, allocations: 0 / 1.094 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001854/0.3796, allocations: 0.9151 MB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3796, allocations: 11.98 kB / 1.095 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3796, allocations: 4 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.3797, allocations: 4 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/0.3806, allocations: 199.7 kB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3806, allocations: 4 kB / 1.096 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/0.3816, allocations: 139.1 kB / 1.096 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.3816, allocations: 47.95 kB / 1.096 GB, free: 13.83 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.000379/0.382, allocations: 246.9 kB / 1.096 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.3822, allocations: 79.06 kB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.3849, allocations: 1.375 MB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.3849, allocations: 16 kB / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3849, allocations: 0 / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.3849, allocations: 11.91 kB / 1.097 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.386, allocations: 1.015 MB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3861, allocations: 4 kB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/0.3869, allocations: 207.7 kB / 1.099 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.387, allocations: 12 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.387, allocations: 39.91 kB / 1.099 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.3871, allocations: 11.98 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3871, allocations: 3.938 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.3892, allocations: 1.21 MB / 1.1 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.3896, allocations: 295.6 kB / 1.1 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.3898, allocations: 28 kB / 1.1 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/0.3906, allocations: 71.86 kB / 1.1 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.3908, allocations: 119.5 kB / 1.1 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/0.3909, allocations: 55.95 kB / 1.1 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004692/0.3914, allocations: 394.8 kB / 1.101 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3914, allocations: 0 / 1.101 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009087/0.3923, allocations: 299.5 kB / 1.101 GB, free: 8.25 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.0007392/0.393, allocations: 327.8 kB / 1.101 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.3952, allocations: 0.9884 MB / 1.102 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3952, allocations: 0 / 1.102 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009759/0.3962, allocations: 0.5713 MB / 1.103 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3967, allocations: 86.64 kB / 1.103 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.3997, allocations: 1.648 MB / 1.105 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.4003, allocations: 1.002 MB / 1.106 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006272/0.4009, allocations: 158.9 kB / 1.106 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.4012, allocations: 127.3 kB / 1.106 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of SimCode: time 1.272e-06/0.4012, allocations: 4 kB / 1.106 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.02067/0.4219, allocations: 11.73 MB / 1.117 GB, free: 7.672 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)