Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 101.3 MB / 361.1 MB, free: 8.785 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 75.89 kB / 0.5356 GB, free: 12.69 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1938, allocations: 85.89 MB / 0.6195 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006973/0.2007, allocations: 3.87 MB / 0.6233 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5719/0.7727, allocations: 132.6 MB / 0.7527 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008656/0.7735, allocations: 23.81 kB / 0.7527 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.7742, allocations: 170.4 kB / 0.7529 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.7758, allocations: 0.4939 MB / 0.7534 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.7785, allocations: 0.8415 MB / 0.7542 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.7807, allocations: 1.234 MB / 0.7554 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009926/0.7817, allocations: 494.5 kB / 0.7559 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007498/0.7825, allocations: 494.2 kB / 0.7564 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006772/0.7832, allocations: 441.7 kB / 0.7568 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.7833, allocations: 116 kB / 0.7569 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.7845, allocations: 0.4928 MB / 0.7574 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.7848, allocations: 295 kB / 0.7577 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000616/0.7854, allocations: 445.7 kB / 0.7581 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.7879, allocations: 1.645 MB / 0.7597 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7879, allocations: 0 / 0.7597 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7879, allocations: 0 / 0.7597 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.7879, allocations: 0 / 0.7597 GB, free: 4.094 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002516/0.7904, allocations: 1.374 MB / 0.761 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.7905, allocations: 8.031 kB / 0.761 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/0.793, allocations: 369.3 kB / 0.7614 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.7944, allocations: 0.6983 MB / 0.7621 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.7944, allocations: 66 kB / 0.7621 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.7946, allocations: 92 kB / 0.7622 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.7967, allocations: 1.262 MB / 0.7635 GB, free: 80 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.7968, allocations: 3.938 kB / 0.7635 GB, free: 76 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.7969, allocations: 40 kB / 0.7635 GB, free: 36 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.7969, allocations: 20 kB / 0.7635 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.7994, allocations: 1.182 MB / 0.7647 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.8036, allocations: 2.113 MB / 0.7667 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.8062, allocations: 0.8155 MB / 0.7675 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.807, allocations: 307.2 kB / 0.7678 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/0.8071, allocations: 24.62 kB / 0.7678 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.8082, allocations: 0.5811 MB / 0.7684 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=75): time 2.715e-06/0.8082, allocations: 0 / 0.7684 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75): time 0.003858/0.8121, allocations: 1.167 MB / 0.7696 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.8122, allocations: 188.6 kB / 0.7697 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.813, allocations: 0.5498 MB / 0.7703 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.8131, allocations: 41.7 kB / 0.7703 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.8135, allocations: 436.8 kB / 0.7707 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.8138, allocations: 249.8 kB / 0.771 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.814, allocations: 154.6 kB / 0.7711 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.8142, allocations: 386.7 kB / 0.7715 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.815, allocations: 285.8 kB / 0.7718 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009536/0.816, allocations: 0.5034 MB / 0.7722 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.8176, allocations: 0.658 MB / 0.7729 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8176, allocations: 0 / 0.7729 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002449/0.82, allocations: 0.8727 MB / 0.7737 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8201, allocations: 8 kB / 0.7738 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8201, allocations: 0 / 0.7738 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.8207, allocations: 84.86 kB / 0.7738 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/0.8215, allocations: 174.5 kB / 0.774 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.8238, allocations: 1.511 MB / 0.7755 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.8246, allocations: 87.61 kB / 0.7756 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.8247, allocations: 39.97 kB / 0.7756 GB, free: 3.301 MB / 0.6387 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 (86): * Single equations (assignments): 85 * 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.0004587/0.8251, allocations: 259.5 kB / 0.7758 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.8253, allocations: 83.45 kB / 0.7759 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.8283, allocations: 1.096 MB / 0.777 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.8283, allocations: 8 kB / 0.777 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8283, allocations: 8 kB / 0.777 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8284, allocations: 3.984 kB / 0.777 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.8322, allocations: 1.779 MB / 0.7787 GB, free: 16 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8322, allocations: 0 / 0.7787 GB, free: 16 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.833, allocations: 175.8 kB / 0.7789 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.8335, allocations: 68.78 kB / 0.779 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.8336, allocations: 23.98 kB / 0.779 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.8357, allocations: 1.528 MB / 0.7805 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8357, allocations: 4.062 kB / 0.7805 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.8383, allocations: 1.022 MB / 0.7815 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.8387, allocations: 187.1 kB / 0.7817 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.8388, allocations: 19.94 kB / 0.7817 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.8395, allocations: 71.92 kB / 0.7818 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.8397, allocations: 64.94 kB / 0.7818 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.8398, allocations: 35.98 kB / 0.7819 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005788/0.8403, allocations: 398.8 kB / 0.7822 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8403, allocations: 4 kB / 0.7822 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000927/0.8413, allocations: 319 kB / 0.7825 GB, free: 12 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 (88): * Single equations (assignments): 85 * 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.002059/0.8433, allocations: 0.6375 MB / 0.7832 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.8456, allocations: 0.843 MB / 0.784 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8456, allocations: 3.984 kB / 0.784 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.8467, allocations: 0.5041 MB / 0.7845 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.848, allocations: 278 kB / 0.7848 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.8526, allocations: 1.833 MB / 0.7865 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.8531, allocations: 443.6 kB / 0.787 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008865/0.854, allocations: 263.4 kB / 0.7872 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.8543, allocations: 108.4 kB / 0.7873 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/0.8543, allocations: 0 / 0.7873 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of Templates: time 0.0278/0.8821, allocations: 14.7 MB / 0.8017 GB, free: 8.836 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9421584230149165] Failed to read output from testmodel.py, exit status != 0: 0.8919598569627851 0.906938326 0.11580446100000001 Calling exit ...