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.007752/0.007752, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001475/0.001475, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.817/0.817, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 66.33 kB / 0.5813 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2103, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006604/0.217, allocations: 4.047 MB / 0.6636 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6895/0.9065, allocations: 150.4 MB / 0.8105 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.9077, allocations: 24.94 kB / 0.8105 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006919/0.9084, allocations: 167.3 kB / 0.8107 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.9103, allocations: 473.8 kB / 0.8112 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.9126, allocations: 0.7871 MB / 0.8119 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.9142, allocations: 1.159 MB / 0.8131 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009848/0.9152, allocations: 0.5953 MB / 0.8136 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007665/0.916, allocations: 420.6 kB / 0.814 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.9166, allocations: 431.1 kB / 0.8144 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.9168, allocations: 101.6 kB / 0.8145 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.9179, allocations: 474.5 kB / 0.815 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.9182, allocations: 260.9 kB / 0.8152 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.9187, allocations: 492.5 kB / 0.8157 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.9206, allocations: 1.45 MB / 0.8171 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9206, allocations: 11.5 kB / 0.8171 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9206, allocations: 0 / 0.8171 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.9206, allocations: 0 / 0.8171 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.002278/0.9229, allocations: 1.296 MB / 0.8184 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.923, allocations: 10.53 kB / 0.8184 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009529/0.9239, allocations: 176.3 kB / 0.8186 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.9252, allocations: 0.7153 MB / 0.8193 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/0.9252, allocations: 57.62 kB / 0.8193 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.9254, allocations: 77.97 kB / 0.8194 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.927, allocations: 0.8375 MB / 0.8202 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.927, allocations: 0 / 0.8202 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.9271, allocations: 37.48 kB / 0.8203 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.9271, allocations: 21.77 kB / 0.8203 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.9288, allocations: 1.044 MB / 0.8213 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.9327, allocations: 2.305 MB / 0.8236 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.9341, allocations: 0.7702 MB / 0.8243 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.9346, allocations: 266.4 kB / 0.8246 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/0.9347, allocations: 33.89 kB / 0.8246 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007857/0.9355, allocations: 416.2 kB / 0.825 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.044e-06/0.9355, allocations: 0 / 0.825 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003043/0.9386, allocations: 1.051 MB / 0.826 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.9387, allocations: 196 kB / 0.8262 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.9396, allocations: 0.5756 MB / 0.8268 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.9396, allocations: 36.39 kB / 0.8268 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.94, allocations: 380.1 kB / 0.8272 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.9402, allocations: 226 kB / 0.8274 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.9405, allocations: 149.2 kB / 0.8275 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.9407, allocations: 377.9 kB / 0.8279 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.9412, allocations: 232.5 kB / 0.8281 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.9418, allocations: 318.4 kB / 0.8284 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.9428, allocations: 0.5329 MB / 0.8289 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9428, allocations: 2.625 kB / 0.8289 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001843/0.9447, allocations: 0.7514 MB / 0.8297 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.9447, allocations: 5.281 kB / 0.8297 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9447, allocations: 2.688 kB / 0.8297 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.9454, allocations: 82.95 kB / 0.8298 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.946, allocations: 147.4 kB / 0.8299 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.9481, allocations: 1.631 MB / 0.8315 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.9487, allocations: 78.39 kB / 0.8316 GB, free: 80 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.9488, allocations: 32.58 kB / 0.8316 GB, free: 68 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.0003963/0.9492, allocations: 252.9 kB / 0.8318 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.9493, allocations: 74.28 kB / 0.8319 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.9515, allocations: 0.9599 MB / 0.8328 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.9515, allocations: 10.06 kB / 0.8329 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.9515, allocations: 0 / 0.8329 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.9515, allocations: 3.984 kB / 0.8329 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.9545, allocations: 1.783 MB / 0.8346 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.9545, allocations: 2.906 kB / 0.8346 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.9551, allocations: 134.7 kB / 0.8347 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00042/0.9555, allocations: 74.75 kB / 0.8348 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.9555, allocations: 26.77 kB / 0.8348 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.9576, allocations: 1.654 MB / 0.8364 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.9576, allocations: 3.984 kB / 0.8364 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.9594, allocations: 0.8854 MB / 0.8373 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.9597, allocations: 249.4 kB / 0.8375 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.9598, allocations: 12.72 kB / 0.8376 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.9604, allocations: 54.81 kB / 0.8376 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.9606, allocations: 63.31 kB / 0.8377 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/0.9606, allocations: 27.89 kB / 0.8377 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006243/0.9613, allocations: 420.6 kB / 0.8381 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9613, allocations: 0 / 0.8381 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001129/0.9624, allocations: 290.3 kB / 0.8384 GB, free: 11.24 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.001833/0.9643, allocations: 0.6013 MB / 0.839 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.966, allocations: 0.7332 MB / 0.8397 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9661, allocations: 3.938 kB / 0.8397 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.9671, allocations: 477.9 kB / 0.8401 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.9684, allocations: 292.9 kB / 0.8404 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.9734, allocations: 1.59 MB / 0.842 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.9745, allocations: 0.9896 MB / 0.8429 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001017/0.9756, allocations: 244 kB / 0.8432 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.9759, allocations: 98.48 kB / 0.8433 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of SimCode: time 1.864e-06/0.9759, allocations: 4 kB / 0.8433 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.0265/1.002, allocations: 13.62 MB / 0.8566 GB, free: 10.8 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)