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.009186/0.009186, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.001398/0.001398, allocations: 192.2 kB / 16.68 MB, free: 6.375 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7483/0.7483, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.22 kB / 0.5814 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1608, allocations: 80.19 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006649/0.1675, allocations: 4.055 MB / 0.6636 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.3269, allocations: 150.4 MB / 0.8105 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.3276, allocations: 19.88 kB / 0.8106 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006235/0.3282, allocations: 166.5 kB / 0.8107 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.3299, allocations: 471.3 kB / 0.8112 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.3317, allocations: 0.784 MB / 0.8119 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4546/0.7864, allocations: 1.155 MB / 0.8131 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.7885, allocations: 0.5831 MB / 0.8136 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.7898, allocations: 418.2 kB / 0.814 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000948/0.7907, allocations: 438 kB / 0.8144 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.791, allocations: 100.8 kB / 0.8145 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.7925, allocations: 471.7 kB / 0.815 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003497/0.7928, allocations: 261.6 kB / 0.8152 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006188/0.7935, allocations: 489.6 kB / 0.8157 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.7962, allocations: 1.461 MB / 0.8171 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.7962, allocations: 1.875 kB / 0.8171 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.277e-06/0.7962, allocations: 0 / 0.8171 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.7962, allocations: 0 / 0.8171 GB, free: 3.926 MB / 0.6387 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.002294/0.7985, allocations: 1.336 MB / 0.8184 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7986, allocations: 10.19 kB / 0.8184 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009997/0.7996, allocations: 183.7 kB / 0.8186 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.8009, allocations: 0.7164 MB / 0.8193 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.31e-05/0.801, allocations: 64.72 kB / 0.8194 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.8011, allocations: 78.17 kB / 0.8195 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.8031, allocations: 0.8413 MB / 0.8203 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8031, allocations: 1.469 kB / 0.8203 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.8032, allocations: 33.66 kB / 0.8203 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.8033, allocations: 20 kB / 0.8203 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.8055, allocations: 1.047 MB / 0.8214 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/0.8097, allocations: 2.301 MB / 0.8236 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.8111, allocations: 0.7712 MB / 0.8244 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.8117, allocations: 267.1 kB / 0.8246 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.6e-05/0.8118, allocations: 32.22 kB / 0.8246 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008627/0.8127, allocations: 414 kB / 0.825 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/0.8127, allocations: 1.906 kB / 0.825 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.003154/0.8158, allocations: 1.055 MB / 0.8261 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.816, allocations: 193.3 kB / 0.8263 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009638/0.8169, allocations: 0.5855 MB / 0.8268 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.817, allocations: 37.33 kB / 0.8269 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.8173, allocations: 372.7 kB / 0.8272 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.8176, allocations: 246.3 kB / 0.8275 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.8178, allocations: 145.8 kB / 0.8276 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.818, allocations: 381.6 kB / 0.828 GB, free: 472 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.8186, allocations: 228.2 kB / 0.8282 GB, free: 468 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.8193, allocations: 322.1 kB / 0.8285 GB, free: 416 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.8205, allocations: 0.5332 MB / 0.829 GB, free: 380 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.8205, allocations: 1.594 kB / 0.829 GB, free: 380 kB / 0.6387 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002163/0.8227, allocations: 0.7554 MB / 0.8297 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.8227, allocations: 5.5 kB / 0.8297 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.8227, allocations: 1.375 kB / 0.8297 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.8234, allocations: 86.77 kB / 0.8298 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.824, allocations: 147 kB / 0.83 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.8264, allocations: 1.629 MB / 0.8316 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.8272, allocations: 75.94 kB / 0.8316 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.8273, allocations: 35.72 kB / 0.8317 GB, free: 14.85 MB / 0.6544 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.0005672/0.8278, allocations: 252.2 kB / 0.8319 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.828, allocations: 75.5 kB / 0.832 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.8304, allocations: 0.9571 MB / 0.8329 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.8304, allocations: 9.344 kB / 0.8329 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.8304, allocations: 0.9375 kB / 0.8329 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.8304, allocations: 5.297 kB / 0.8329 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.8337, allocations: 1.795 MB / 0.8347 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.8337, allocations: 0 / 0.8347 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.8342, allocations: 135.4 kB / 0.8348 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004192/0.8347, allocations: 71.19 kB / 0.8349 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.8347, allocations: 24.38 kB / 0.8349 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.8367, allocations: 1.659 MB / 0.8365 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8367, allocations: 0 / 0.8365 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.8385, allocations: 0.8896 MB / 0.8374 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.8389, allocations: 259.3 kB / 0.8376 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.839, allocations: 15.06 kB / 0.8377 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.8395, allocations: 57.09 kB / 0.8377 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.8397, allocations: 60.72 kB / 0.8378 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/0.8397, allocations: 30.58 kB / 0.8378 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000584/0.8403, allocations: 422 kB / 0.8382 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8403, allocations: 0.8438 kB / 0.8382 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00111/0.8415, allocations: 285.2 kB / 0.8385 GB, free: 12.32 MB / 0.6544 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.001738/0.8432, allocations: 0.6056 MB / 0.8391 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.845, allocations: 0.7297 MB / 0.8398 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.845, allocations: 0 / 0.8398 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.8459, allocations: 483.6 kB / 0.8402 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.8472, allocations: 288 kB / 0.8405 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.8511, allocations: 1.627 MB / 0.8421 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/0.8519, allocations: 0.9874 MB / 0.8431 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009227/0.8529, allocations: 249.5 kB / 0.8433 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.8531, allocations: 95.3 kB / 0.8434 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of SimCode: time 1.533e-06/0.8532, allocations: 2.656 kB / 0.8434 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.02786/0.881, allocations: 13.62 MB / 0.8567 GB, free: 9.738 MB / 0.6544 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)