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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 112.6 kB / 17.33 MB, free: 5.008 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.001487/0.001487, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.38/1.38, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8075/0.8075, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 65.2 kB / 0.5911 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.147, allocations: 83.26 MB / 0.6724 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007094/0.1541, allocations: 4.819 MB / 0.6772 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4723/0.6265, allocations: 151.1 MB / 0.8247 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007646/0.6272, allocations: 17 kB / 0.8247 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.6279, allocations: 199.8 kB / 0.8249 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.6298, allocations: 0.5441 MB / 0.8254 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.6318, allocations: 0.8472 MB / 0.8262 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001654/0.6334, allocations: 1.36 MB / 0.8276 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/0.6343, allocations: 412.7 kB / 0.828 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007678/0.6351, allocations: 483.2 kB / 0.8284 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007956/0.6358, allocations: 0.4897 MB / 0.8289 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.636, allocations: 114.4 kB / 0.829 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009362/0.637, allocations: 489.8 kB / 0.8295 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.6373, allocations: 293.7 kB / 0.8298 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006696/0.638, allocations: 0.5478 MB / 0.8303 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.6402, allocations: 1.614 MB / 0.8319 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6402, allocations: 2.094 kB / 0.8319 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6402, allocations: 0 / 0.8319 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.258e-05/0.6402, allocations: 0 / 0.8319 GB, free: 1.898 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003128/0.6434, allocations: 1.435 MB / 0.8333 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6434, allocations: 10.72 kB / 0.8333 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.6444, allocations: 197.3 kB / 0.8335 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.6458, allocations: 0.763 MB / 0.8342 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.6458, allocations: 59.97 kB / 0.8343 GB, free: 4 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.646, allocations: 83.48 kB / 0.8344 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.6477, allocations: 0.9036 MB / 0.8352 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.6477, allocations: 11.86 kB / 0.8352 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/0.6478, allocations: 35.33 kB / 0.8353 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.6478, allocations: 24.81 kB / 0.8353 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.6496, allocations: 1.093 MB / 0.8364 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.654, allocations: 2.708 MB / 0.839 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.6555, allocations: 0.8272 MB / 0.8398 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.656, allocations: 270.7 kB / 0.8401 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/0.6561, allocations: 32.05 kB / 0.8401 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008763/0.6569, allocations: 495.3 kB / 0.8406 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 3.707e-06/0.6569, allocations: 0 / 0.8406 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.003192/0.6601, allocations: 1.182 MB / 0.8417 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.6603, allocations: 194.3 kB / 0.8419 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/0.6612, allocations: 0.6211 MB / 0.8425 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-05/0.6613, allocations: 42.64 kB / 0.8426 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.6616, allocations: 398.9 kB / 0.843 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.6619, allocations: 266.7 kB / 0.8432 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.6621, allocations: 160.8 kB / 0.8434 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.6624, allocations: 384.2 kB / 0.8437 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.6629, allocations: 265.9 kB / 0.844 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.6635, allocations: 357.7 kB / 0.8443 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6646, allocations: 0.6035 MB / 0.8449 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6646, allocations: 2.344 kB / 0.8449 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001943/0.6666, allocations: 0.8417 MB / 0.8457 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6666, allocations: 9.609 kB / 0.8457 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6666, allocations: 6.406 kB / 0.8458 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.6672, allocations: 75.72 kB / 0.8458 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.6678, allocations: 168.5 kB / 0.846 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.6701, allocations: 1.62 MB / 0.8476 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/0.6709, allocations: 96.06 kB / 0.8477 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/0.671, allocations: 35.19 kB / 0.8477 GB, free: 6.504 MB / 0.6075 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.0005147/0.6715, allocations: 268 kB / 0.8479 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.6717, allocations: 90.12 kB / 0.848 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.6741, allocations: 1.044 MB / 0.8491 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.6741, allocations: 11.84 kB / 0.8491 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6741, allocations: 0 / 0.8491 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.6741, allocations: 7.969 kB / 0.8491 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.6776, allocations: 1.909 MB / 0.8509 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.6776, allocations: 3.938 kB / 0.8509 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.6781, allocations: 140.8 kB / 0.8511 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/0.6785, allocations: 79 kB / 0.8511 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.6786, allocations: 23.67 kB / 0.8512 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.6806, allocations: 1.653 MB / 0.8528 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6806, allocations: 3.938 kB / 0.8528 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.6829, allocations: 0.989 MB / 0.8538 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.6834, allocations: 276.1 kB / 0.854 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.6836, allocations: 23.98 kB / 0.854 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/0.6842, allocations: 59.94 kB / 0.8541 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.6844, allocations: 72.91 kB / 0.8542 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.6845, allocations: 31.97 kB / 0.8542 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006904/0.6852, allocations: 451 kB / 0.8546 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6852, allocations: 0 / 0.8546 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009764/0.6862, allocations: 327.1 kB / 0.8549 GB, free: 452 kB / 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: 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.002015/0.6882, allocations: 0.6109 MB / 0.8555 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.69, allocations: 0.7843 MB / 0.8563 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.69, allocations: 0 / 0.8563 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000991/0.691, allocations: 0.4886 MB / 0.8568 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.6924, allocations: 302 kB / 0.8571 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.6959, allocations: 1.637 MB / 0.8587 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.6968, allocations: 1.015 MB / 0.8597 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009127/0.6977, allocations: 254.6 kB / 0.8599 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.698, allocations: 103.4 kB / 0.86 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.698, allocations: 4 kB / 0.86 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of Templates: time 0.02874/0.7267, allocations: 15.3 MB / 0.8749 GB, free: 12.23 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 660] (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) [Timeout 480]