Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 105.4 kB / 16.52 MB, free: 6.668 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.00148/0.001479, allocations: 195.2 kB / 17.44 MB, free: 6.043 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6876/0.6876, allocations: 115.3 MB / 406.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.91 kB / 493.6 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3497, allocations: 76.16 MB / 0.5564 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005247/0.355, allocations: 4.774 MB / 0.561 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1519/0.5069, allocations: 148.3 MB / 0.7058 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.508, allocations: 19.88 kB / 0.7059 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007735/0.5088, allocations: 146.9 kB / 0.706 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.5108, allocations: 469 kB / 0.7065 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.5129, allocations: 0.7163 MB / 0.7072 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00165/0.5146, allocations: 1.265 MB / 0.7084 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.5155, allocations: 0.5594 MB / 0.7089 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006514/0.5162, allocations: 414.3 kB / 0.7093 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000625/0.5168, allocations: 465.8 kB / 0.7098 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.517, allocations: 52 kB / 0.7098 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009509/0.518, allocations: 403.5 kB / 0.7102 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.5182, allocations: 227.1 kB / 0.7104 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005554/0.5188, allocations: 0.4894 MB / 0.7109 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.5201, allocations: 1.181 MB / 0.7121 GB, free: 4.785 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5202, allocations: 4 kB / 0.7121 GB, free: 4.781 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5202, allocations: 0 / 0.7121 GB, free: 4.781 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.857e-05/0.5202, allocations: 0 / 0.7121 GB, free: 4.781 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002921/0.5231, allocations: 1.416 MB / 0.7134 GB, free: 3.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.5232, allocations: 8.031 kB / 0.7135 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.5242, allocations: 191.4 kB / 0.7136 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.5254, allocations: 0.7305 MB / 0.7143 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.5254, allocations: 66 kB / 0.7144 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.5255, allocations: 76 kB / 0.7145 GB, free: 2.211 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.5272, allocations: 0.9033 MB / 0.7154 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.5272, allocations: 0 / 0.7154 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-05/0.5273, allocations: 39.92 kB / 0.7154 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.5273, allocations: 20 kB / 0.7154 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.5291, allocations: 1.097 MB / 0.7165 GB, free: 116 kB / 0.545 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.004318/0.5334, allocations: 2.683 MB / 0.7191 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.535, allocations: 0.8677 MB / 0.72 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.5356, allocations: 302.6 kB / 0.7203 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.022e-05/0.5357, allocations: 24.62 kB / 0.7203 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.5367, allocations: 499 kB / 0.7208 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.765e-06/0.5367, allocations: 4 kB / 0.7208 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003254/0.54, allocations: 1.174 MB / 0.7219 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.5401, allocations: 200.6 kB / 0.7221 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.5409, allocations: 0.6136 MB / 0.7227 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.541, allocations: 41.7 kB / 0.7227 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.5414, allocations: 392.4 kB / 0.7231 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.5416, allocations: 256.3 kB / 0.7234 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.5418, allocations: 158.5 kB / 0.7235 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.542, allocations: 390.7 kB / 0.7239 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.5426, allocations: 269.8 kB / 0.7241 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.5432, allocations: 355.1 kB / 0.7245 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.5443, allocations: 0.5994 MB / 0.7251 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5443, allocations: 0 / 0.7251 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002023/0.5464, allocations: 0.841 MB / 0.7259 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.5464, allocations: 4 kB / 0.7259 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5464, allocations: 7.984 kB / 0.7259 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.547, allocations: 76.88 kB / 0.726 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.5477, allocations: 163.7 kB / 0.7261 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.5498, allocations: 1.527 MB / 0.7276 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.5506, allocations: 87.33 kB / 0.7277 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.141e-05/0.5507, allocations: 40.03 kB / 0.7277 GB, free: 4.152 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004595/0.5512, allocations: 264.1 kB / 0.728 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.5514, allocations: 86.91 kB / 0.7281 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.5538, allocations: 1.05 MB / 0.7291 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.5538, allocations: 8 kB / 0.7291 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5538, allocations: 0 / 0.7291 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5538, allocations: 3.984 kB / 0.7291 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.5572, allocations: 1.914 MB / 0.731 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5572, allocations: 0 / 0.731 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.5578, allocations: 139.8 kB / 0.7311 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/0.5584, allocations: 92.69 kB / 0.7312 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.5585, allocations: 23.98 kB / 0.7312 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.5604, allocations: 1.54 MB / 0.7327 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5604, allocations: 0 / 0.7327 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.5625, allocations: 0.9843 MB / 0.7337 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.5629, allocations: 271.7 kB / 0.7339 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5631, allocations: 20 kB / 0.734 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/0.5638, allocations: 69.56 kB / 0.734 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.564, allocations: 72.83 kB / 0.7341 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/0.564, allocations: 31.98 kB / 0.7341 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006062/0.5646, allocations: 451 kB / 0.7346 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5647, allocations: 0 / 0.7346 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009479/0.5656, allocations: 323.2 kB / 0.7349 GB, free: 12.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001421/0.567, allocations: 0.6024 MB / 0.7355 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.5688, allocations: 0.8197 MB / 0.7363 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5688, allocations: 4 kB / 0.7363 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009413/0.5698, allocations: 0.5002 MB / 0.7367 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.571, allocations: 270.8 kB / 0.737 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.5743, allocations: 2.076 MB / 0.739 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.5749, allocations: 1.008 MB / 0.74 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.5753, allocations: 119.4 kB / 0.7401 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.5753, allocations: 0 / 0.7401 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of Templates: time 0.2528/0.8281, allocations: 18.18 MB / 0.7579 GB, free: 168.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)