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.001116/0.001116, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008812/0.008812, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.631/1.631, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 473.4 MB / 0.7469 GB, free: 6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003936, allocations: 6.938 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004544/0.3314, allocations: 3.899 MB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004361/0.3358, allocations: 2.628 MB / 1.081 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.3361, allocations: 12 kB / 1.081 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.3363, allocations: 63.28 kB / 1.081 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.3377, allocations: 446.7 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007527/0.3384, allocations: 407.5 kB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.3396, allocations: 1.217 MB / 1.083 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005388/0.3402, allocations: 378.3 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005753/0.3408, allocations: 406.1 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.3414, allocations: 489.7 kB / 1.084 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.011e-05/0.3415, allocations: 36 kB / 1.084 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.342, allocations: 203.8 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3421, allocations: 179.1 kB / 1.084 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.3426, allocations: 463.2 kB / 1.085 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.3438, allocations: 1.335 MB / 1.086 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3438, allocations: 0 / 1.086 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3438, allocations: 4 kB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.3439, allocations: 0 / 1.086 GB, free: 11.34 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.002979/0.3469, allocations: 1.173 MB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3469, allocations: 12.03 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.3471, allocations: 103.7 kB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3484, allocations: 0.7138 MB / 1.088 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/0.3485, allocations: 62.38 kB / 1.088 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3486, allocations: 84.11 kB / 1.088 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.3501, allocations: 0.8768 MB / 1.089 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.3502, allocations: 4 kB / 1.089 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.3503, allocations: 32 kB / 1.089 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.3503, allocations: 20 kB / 1.089 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.3517, allocations: 0.6939 MB / 1.09 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004266/0.356, allocations: 2.477 MB / 1.092 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.3601, allocations: 1.249 MB / 1.093 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.3609, allocations: 430.1 kB / 1.094 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-05/0.361, allocations: 19.98 kB / 1.094 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.3621, allocations: 0.6739 MB / 1.094 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=108): time 2.705e-06/0.3621, allocations: 4 kB / 1.094 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108): time 0.002699/0.3648, allocations: 1.286 MB / 1.096 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.3649, allocations: 140.5 kB / 1.096 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006419/0.3656, allocations: 0.5145 MB / 1.096 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/0.3657, allocations: 53.69 kB / 1.096 GB, free: 448 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.3659, allocations: 297.1 kB / 1.097 GB, free: 144 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.3662, allocations: 339.4 kB / 1.097 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3663, allocations: 81.67 kB / 1.097 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3665, allocations: 386.7 kB / 1.097 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.3672, allocations: 321.9 kB / 1.098 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.368, allocations: 413.2 kB / 1.098 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.3693, allocations: 0.6911 MB / 1.099 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3694, allocations: 0 / 1.099 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001815/0.3712, allocations: 0.9224 MB / 1.1 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3712, allocations: 4 kB / 1.1 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3712, allocations: 0 / 1.1 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3712, allocations: 11.98 kB / 1.1 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.3722, allocations: 203.7 kB / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.3722, allocations: 4 kB / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.3732, allocations: 147 kB / 1.1 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.263e-05/0.3733, allocations: 43.95 kB / 1.1 GB, free: 12.56 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.0003969/0.3737, allocations: 254.9 kB / 1.1 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3739, allocations: 75.06 kB / 1.1 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.3766, allocations: 1.375 MB / 1.102 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.3766, allocations: 16 kB / 1.102 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3766, allocations: 4 kB / 1.102 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.3766, allocations: 7.922 kB / 1.102 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3779, allocations: 1.019 MB / 1.103 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3779, allocations: 0 / 1.103 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/0.3788, allocations: 215.6 kB / 1.103 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.3788, allocations: 4 kB / 1.103 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.3789, allocations: 35.97 kB / 1.103 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.3789, allocations: 4 kB / 1.103 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.379, allocations: 4 kB / 1.103 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.3811, allocations: 1.21 MB / 1.104 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.3815, allocations: 311.5 kB / 1.104 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.3817, allocations: 32 kB / 1.104 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.3825, allocations: 91.86 kB / 1.105 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.3827, allocations: 123.5 kB / 1.105 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.196e-05/0.3828, allocations: 51.97 kB / 1.105 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004819/0.3833, allocations: 394.8 kB / 1.105 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3833, allocations: 0 / 1.105 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008297/0.3841, allocations: 299.5 kB / 1.105 GB, free: 6.953 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.0007036/0.3849, allocations: 331 kB / 1.106 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.3866, allocations: 0.9204 MB / 1.107 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3866, allocations: 4 kB / 1.107 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009634/0.3876, allocations: 0.5751 MB / 1.107 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.3882, allocations: 78.3 kB / 1.107 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.3912, allocations: 2.041 MB / 1.109 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.3918, allocations: 1.006 MB / 1.11 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006199/0.3924, allocations: 158.9 kB / 1.11 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.3928, allocations: 123.4 kB / 1.11 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of SimCode: time 6.72e-07/0.3928, allocations: 0 / 1.11 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of Templates: time 0.01959/0.4124, allocations: 10.91 MB / 1.121 GB, free: 6.867 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)