Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 93.73 kB / 16.02 MB, free: 84 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.001332/0.001333, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.559/1.559, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.73/0.73, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003269, allocations: 8.5 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1819, allocations: 77.54 MB / 0.56 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005646/0.1875, allocations: 4.571 MB / 0.5644 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5805/0.7681, allocations: 146.8 MB / 0.7078 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.769, allocations: 15.94 kB / 0.7078 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.7695, allocations: 158.8 kB / 0.708 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.771, allocations: 482 kB / 0.7084 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.773, allocations: 0.764 MB / 0.7092 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.7747, allocations: 1.366 MB / 0.7105 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008572/0.7756, allocations: 0.5806 MB / 0.7111 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006058/0.7762, allocations: 378.3 kB / 0.7114 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.7769, allocations: 429.6 kB / 0.7118 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.056e-05/0.777, allocations: 28 kB / 0.7119 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009935/0.778, allocations: 387.7 kB / 0.7122 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.7782, allocations: 207 kB / 0.7124 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005876/0.7788, allocations: 498.7 kB / 0.7129 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.7805, allocations: 1.581 MB / 0.7145 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7805, allocations: 0 / 0.7145 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7805, allocations: 0 / 0.7145 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.7806, allocations: 0 / 0.7145 GB, free: 8.422 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002731/0.7833, allocations: 1.277 MB / 0.7157 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 0.000121/0.7834, allocations: 8.031 kB / 0.7157 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/0.7844, allocations: 203.3 kB / 0.7159 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.7855, allocations: 0.7626 MB / 0.7167 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.7855, allocations: 66 kB / 0.7167 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.7857, allocations: 84 kB / 0.7168 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.7874, allocations: 0.9924 MB / 0.7178 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.7875, allocations: 1.375 kB / 0.7178 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.7876, allocations: 44 kB / 0.7178 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.7876, allocations: 20 kB / 0.7178 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.7896, allocations: 1.159 MB / 0.719 GB, free: 3.684 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.7944, allocations: 2.945 MB / 0.7218 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.7967, allocations: 0.9888 MB / 0.7228 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.7973, allocations: 334.7 kB / 0.7231 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-05/0.7974, allocations: 36.67 kB / 0.7232 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.7984, allocations: 0.5352 MB / 0.7237 GB, free: 14.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 2.144e-06/0.7985, allocations: 0 / 0.7237 GB, free: 14.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.003501/0.802, allocations: 1.321 MB / 0.725 GB, free: 13.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.8021, allocations: 192.9 kB / 0.7252 GB, free: 13.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000873/0.803, allocations: 0.6527 MB / 0.7258 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.87e-05/0.8031, allocations: 49.69 kB / 0.7258 GB, free: 12.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.8034, allocations: 396.5 kB / 0.7262 GB, free: 12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.8036, allocations: 291.9 kB / 0.7265 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.8037, allocations: 73.69 kB / 0.7266 GB, free: 11.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8039, allocations: 394.7 kB / 0.7269 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.8045, allocations: 293.8 kB / 0.7272 GB, free: 10.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.8053, allocations: 403 kB / 0.7276 GB, free: 10.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.8066, allocations: 0.6516 MB / 0.7282 GB, free: 9.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.8067, allocations: 0 / 0.7282 GB, free: 9.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002246/0.8089, allocations: 0.9267 MB / 0.7291 GB, free: 8.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.809, allocations: 8 kB / 0.7292 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.809, allocations: 3.984 kB / 0.7292 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.8096, allocations: 84.83 kB / 0.7292 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.8104, allocations: 187.7 kB / 0.7294 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.8129, allocations: 1.515 MB / 0.7309 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.814, allocations: 118.3 kB / 0.731 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.8141, allocations: 44.14 kB / 0.7311 GB, free: 6.855 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006188/0.8147, allocations: 279.8 kB / 0.7313 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.8149, allocations: 86.88 kB / 0.7314 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.8175, allocations: 1.2 MB / 0.7326 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.8176, allocations: 19.94 kB / 0.7326 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8176, allocations: 0 / 0.7326 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8176, allocations: 7.969 kB / 0.7326 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.8212, allocations: 2.098 MB / 0.7346 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8212, allocations: 0 / 0.7346 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.8219, allocations: 171.8 kB / 0.7348 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.8224, allocations: 84.77 kB / 0.7349 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.8225, allocations: 27.98 kB / 0.7349 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.8244, allocations: 1.548 MB / 0.7364 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8244, allocations: 3.938 kB / 0.7364 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.8266, allocations: 1.101 MB / 0.7375 GB, free: 0 / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.8271, allocations: 303.5 kB / 0.7378 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.8272, allocations: 27.98 kB / 0.7378 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007589/0.8279, allocations: 83.92 kB / 0.7379 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.8281, allocations: 80.89 kB / 0.738 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.8282, allocations: 51.84 kB / 0.738 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005953/0.8288, allocations: 471 kB / 0.7385 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8288, allocations: 0 / 0.7385 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001001/0.8298, allocations: 347.2 kB / 0.7388 GB, free: 14.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/0.8313, allocations: 0.6195 MB / 0.7394 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.8333, allocations: 0.9016 MB / 0.7403 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8333, allocations: 4 kB / 0.7403 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.8343, allocations: 0.5782 MB / 0.7409 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.8357, allocations: 280.2 kB / 0.7411 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.8393, allocations: 2.229 MB / 0.7433 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.8399, allocations: 1.04 MB / 0.7443 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008721/0.8408, allocations: 279.1 kB / 0.7446 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.8411, allocations: 119.4 kB / 0.7447 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.8411, allocations: 0 / 0.7447 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of Templates: time 0.02818/0.8693, allocations: 15.29 MB / 0.7596 GB, free: 9.613 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)