Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00684/0.00684, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001205/0.001205, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8364/0.8364, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62.69 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1836, allocations: 80.22 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005973/0.1897, allocations: 4.043 MB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6477/0.8374, allocations: 150.4 MB / 0.8105 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009295/0.8384, allocations: 15.16 kB / 0.8105 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.8389, allocations: 167.4 kB / 0.8107 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.8405, allocations: 478.7 kB / 0.8112 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.8423, allocations: 0.782 MB / 0.8119 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.8435, allocations: 1.156 MB / 0.813 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.8444, allocations: 0.602 MB / 0.8136 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.8449, allocations: 429.6 kB / 0.814 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.8454, allocations: 428 kB / 0.8145 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.8455, allocations: 99.34 kB / 0.8145 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008374/0.8464, allocations: 471.4 kB / 0.815 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.8466, allocations: 269 kB / 0.8153 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.847, allocations: 490.5 kB / 0.8157 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.8487, allocations: 1.459 MB / 0.8171 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8487, allocations: 0 / 0.8171 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8487, allocations: 0 / 0.8171 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.8487, allocations: 4 kB / 0.8172 GB, free: 10.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002146/0.8509, allocations: 1.296 MB / 0.8184 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.8509, allocations: 9.562 kB / 0.8184 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/0.8518, allocations: 173.2 kB / 0.8186 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.8529, allocations: 0.7113 MB / 0.8193 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.853, allocations: 65.34 kB / 0.8193 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.8531, allocations: 74.12 kB / 0.8194 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.8545, allocations: 0.8407 MB / 0.8202 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.8545, allocations: 0 / 0.8202 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.8546, allocations: 35.41 kB / 0.8203 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.8546, allocations: 22.91 kB / 0.8203 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.8563, allocations: 1.042 MB / 0.8213 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003381/0.8596, allocations: 2.301 MB / 0.8236 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.8609, allocations: 0.7723 MB / 0.8243 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.8614, allocations: 266.1 kB / 0.8246 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.8615, allocations: 34.86 kB / 0.8246 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/0.8622, allocations: 415.6 kB / 0.825 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 1.874e-06/0.8622, allocations: 0 / 0.825 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002805/0.865, allocations: 1.061 MB / 0.826 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.8651, allocations: 190.6 kB / 0.8262 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.8658, allocations: 0.5769 MB / 0.8268 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.8659, allocations: 42.61 kB / 0.8268 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.8661, allocations: 366.8 kB / 0.8272 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.8663, allocations: 234.6 kB / 0.8274 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.8666, allocations: 147.2 kB / 0.8275 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8667, allocations: 376.2 kB / 0.8279 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.8671, allocations: 229.7 kB / 0.8281 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.8677, allocations: 313.9 kB / 0.8284 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.8686, allocations: 0.5421 MB / 0.8289 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8686, allocations: 0 / 0.8289 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001645/0.8702, allocations: 0.7556 MB / 0.8297 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8703, allocations: 9.094 kB / 0.8297 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.8703, allocations: 4.094 kB / 0.8297 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.8709, allocations: 75.5 kB / 0.8298 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.8714, allocations: 151.6 kB / 0.8299 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.8734, allocations: 1.62 MB / 0.8315 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.874, allocations: 76.33 kB / 0.8316 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.8741, allocations: 36.59 kB / 0.8316 GB, free: 56 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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.0004203/0.8745, allocations: 254.7 kB / 0.8318 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.8747, allocations: 74.28 kB / 0.8319 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.8767, allocations: 0.9526 MB / 0.8328 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.8767, allocations: 7.781 kB / 0.8328 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.8767, allocations: 0 / 0.8328 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.8768, allocations: 9.797 kB / 0.8329 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.8796, allocations: 1.783 MB / 0.8346 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8796, allocations: 0 / 0.8346 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.8801, allocations: 141.6 kB / 0.8347 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.8806, allocations: 72.28 kB / 0.8348 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.8806, allocations: 23.42 kB / 0.8348 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.8824, allocations: 1.657 MB / 0.8364 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8824, allocations: 64 / 0.8364 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.8842, allocations: 0.892 MB / 0.8373 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.8845, allocations: 247.6 kB / 0.8375 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.8846, allocations: 17.69 kB / 0.8376 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.8851, allocations: 53.03 kB / 0.8376 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.8853, allocations: 55.95 kB / 0.8377 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.8853, allocations: 32.42 kB / 0.8377 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004873/0.8858, allocations: 427.6 kB / 0.8381 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8858, allocations: 0 / 0.8381 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007715/0.8866, allocations: 283.1 kB / 0.8384 GB, free: 11.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001284/0.8879, allocations: 0.6039 MB / 0.839 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.8893, allocations: 0.7394 MB / 0.8397 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8893, allocations: 0 / 0.8397 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/0.8901, allocations: 481.8 kB / 0.8402 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.8911, allocations: 281.3 kB / 0.8404 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.8944, allocations: 1.591 MB / 0.842 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/0.895, allocations: 0.9913 MB / 0.8429 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006537/0.8956, allocations: 251.4 kB / 0.8432 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.8959, allocations: 95.2 kB / 0.8433 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.8959, allocations: 0 / 0.8433 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of Templates: time 0.02392/0.9199, allocations: 13.62 MB / 0.8566 GB, free: 10.77 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)