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.001793/0.001793, allocations: 80.91 kB / 19.76 MB, free: 1.898 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.00248/0.00248, allocations: 162.3 kB / 23.01 MB, free: 4.574 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.527/1.527, allocations: 177.2 MB / 203.4 MB, free: 9.254 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.8127/0.8127, allocations: 101.3 MB / 361.1 MB, free: 10.06 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.002582/0.002582, allocations: 74.83 kB / 0.5356 GB, free: 5.562 MB / 446.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.1794/0.182, allocations: 85.88 MB / 0.6195 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007061/0.189, allocations: 3.874 MB / 0.6233 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5684/0.7575, allocations: 132.6 MB / 0.7527 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009077/0.7584, allocations: 19.25 kB / 0.7527 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.759, allocations: 171.4 kB / 0.7529 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.7607, allocations: 0.4926 MB / 0.7534 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.7628, allocations: 0.8394 MB / 0.7542 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.7642, allocations: 1.227 MB / 0.7554 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008808/0.7651, allocations: 0.4964 MB / 0.7559 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009782/0.7661, allocations: 0.7226 MB / 0.7566 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.7667, allocations: 440 kB / 0.757 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.7668, allocations: 115.7 kB / 0.7571 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.7679, allocations: 0.4926 MB / 0.7576 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.7682, allocations: 294.5 kB / 0.7579 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005114/0.7687, allocations: 447.4 kB / 0.7583 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.7711, allocations: 1.637 MB / 0.7599 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7711, allocations: 6.109 kB / 0.7599 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7711, allocations: 0 / 0.7599 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.7711, allocations: 1.344 kB / 0.7599 GB, free: 8.676 MB / 0.6075 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.002815/0.7739, allocations: 1.377 MB / 0.7613 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7739, allocations: 8.25 kB / 0.7613 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.7765, allocations: 361.7 kB / 0.7616 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.7779, allocations: 0.7134 MB / 0.7623 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.144e-05/0.778, allocations: 65.94 kB / 0.7624 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.7781, allocations: 90.03 kB / 0.7625 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.7802, allocations: 1.256 MB / 0.7637 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.7802, allocations: 0 / 0.7637 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.7803, allocations: 36.84 kB / 0.7637 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.7803, allocations: 29.11 kB / 0.7638 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.7825, allocations: 1.176 MB / 0.7649 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.7869, allocations: 2.116 MB / 0.767 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.7893, allocations: 0.815 MB / 0.7678 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007171/0.79, allocations: 311.5 kB / 0.7681 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.7901, allocations: 26.02 kB / 0.7681 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.7912, allocations: 0.5819 MB / 0.7687 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=75): time 2.726e-06/0.7912, allocations: 0 / 0.7687 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75): time 0.003643/0.7948, allocations: 1.166 MB / 0.7698 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.7949, allocations: 192.9 kB / 0.77 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/0.7957, allocations: 0.5526 MB / 0.7705 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.7958, allocations: 36.27 kB / 0.7706 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.7961, allocations: 419.8 kB / 0.771 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.7964, allocations: 261.7 kB / 0.7712 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.7966, allocations: 154.2 kB / 0.7714 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.7968, allocations: 381.6 kB / 0.7717 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/0.7976, allocations: 291.1 kB / 0.772 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/0.7985, allocations: 0.4958 MB / 0.7725 GB, free: 272 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.8, allocations: 0.6556 MB / 0.7731 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8, allocations: 0 / 0.7731 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002432/0.8025, allocations: 0.8873 MB / 0.774 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.8025, allocations: 7.812 kB / 0.774 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.8025, allocations: 0 / 0.774 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.803, allocations: 82.97 kB / 0.7741 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/0.8038, allocations: 168.5 kB / 0.7742 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.806, allocations: 1.513 MB / 0.7757 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.8069, allocations: 92.98 kB / 0.7758 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.807, allocations: 36.56 kB / 0.7758 GB, free: 13.88 MB / 0.6231 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.0005476/0.8075, allocations: 254.8 kB / 0.7761 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.8077, allocations: 80.66 kB / 0.7762 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.8105, allocations: 1.1 MB / 0.7772 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.8105, allocations: 8 kB / 0.7772 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8105, allocations: 3.984 kB / 0.7772 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.8106, allocations: 3.984 kB / 0.7772 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/0.8146, allocations: 1.79 MB / 0.779 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.8146, allocations: 0 / 0.779 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.8154, allocations: 165.2 kB / 0.7792 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/0.8158, allocations: 73.62 kB / 0.7792 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.8159, allocations: 24.42 kB / 0.7792 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.8179, allocations: 1.527 MB / 0.7807 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8179, allocations: 0 / 0.7807 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.8203, allocations: 1.024 MB / 0.7817 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.8208, allocations: 180.6 kB / 0.7819 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.8209, allocations: 25.34 kB / 0.7819 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007278/0.8216, allocations: 68.77 kB / 0.782 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.8218, allocations: 69.28 kB / 0.7821 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.8218, allocations: 33.11 kB / 0.7821 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005293/0.8224, allocations: 407 kB / 0.7825 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8224, allocations: 0 / 0.7825 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001006/0.8234, allocations: 324.3 kB / 0.7828 GB, free: 9.223 MB / 0.6231 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.002124/0.8255, allocations: 0.6275 MB / 0.7834 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.8277, allocations: 0.8425 MB / 0.7842 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8277, allocations: 3.938 kB / 0.7842 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.829, allocations: 0.5195 MB / 0.7847 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.831, allocations: 271.3 kB / 0.785 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.8369, allocations: 1.822 MB / 0.7868 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.8374, allocations: 451.4 kB / 0.7872 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009154/0.8384, allocations: 258.1 kB / 0.7875 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.8387, allocations: 105.8 kB / 0.7876 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of SimCode: time 8.62e-07/0.8387, allocations: 0 / 0.7876 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of Templates: time 0.02816/0.8669, allocations: 14.71 MB / 0.8019 GB, free: 10.93 MB / 0.6387 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0254077590070665] Failed to read output from testmodel.py, exit status != 0: 0.8769194709602743 0.8952064260000001 0.11908718700000001 Calling exit ...