Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.002183/0.002183, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.00232/0.00232, allocations: 164.6 kB / 23.01 MB, free: 4.598 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.524/1.524, 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.8515/0.8515, allocations: 101.3 MB / 361.1 MB, free: 9.527 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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [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.002425/0.002425, allocations: 68.7 kB / 0.5356 GB, free: 5.285 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.1864/0.1889, allocations: 85.88 MB / 0.6195 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007784/0.1966, allocations: 3.879 MB / 0.6233 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5591/0.7557, allocations: 132.6 MB / 0.7528 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009357/0.7567, allocations: 24.28 kB / 0.7528 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008167/0.7575, allocations: 175 kB / 0.753 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.7596, allocations: 0.5039 MB / 0.7535 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.762, allocations: 0.8421 MB / 0.7543 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.7639, allocations: 1.221 MB / 0.7555 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/0.7649, allocations: 0.4889 MB / 0.7559 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009009/0.7658, allocations: 494.1 kB / 0.7564 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008137/0.7666, allocations: 435 kB / 0.7568 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.7669, allocations: 114.8 kB / 0.7569 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.7682, allocations: 0.507 MB / 0.7574 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.7686, allocations: 289.1 kB / 0.7577 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.7693, allocations: 439.3 kB / 0.7581 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.7718, allocations: 1.645 MB / 0.7597 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7718, allocations: 0 / 0.7597 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7718, allocations: 4 kB / 0.7597 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.666e-05/0.7718, allocations: 0 / 0.7597 GB, free: 8.555 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003152/0.775, allocations: 1.381 MB / 0.7611 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.775, allocations: 8.781 kB / 0.7611 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.7769, allocations: 268.3 kB / 0.7614 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.7784, allocations: 0.6905 MB / 0.762 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.7785, allocations: 66.31 kB / 0.7621 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.7786, allocations: 92.16 kB / 0.7622 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.7805, allocations: 1.205 MB / 0.7634 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.7805, allocations: 0 / 0.7634 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.612e-05/0.7806, allocations: 36.06 kB / 0.7634 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.7806, allocations: 26.08 kB / 0.7634 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.7825, allocations: 1.084 MB / 0.7645 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.7865, allocations: 2.129 MB / 0.7666 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.7879, allocations: 0.7016 MB / 0.7672 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.7884, allocations: 262 kB / 0.7675 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/0.7889, allocations: 80.12 kB / 0.7676 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008877/0.7898, allocations: 0.5336 MB / 0.7681 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.7898, allocations: 0 / 0.7681 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.00305/0.7929, allocations: 1.023 MB / 0.7691 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.793, allocations: 195.1 kB / 0.7693 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007319/0.7937, allocations: 0.5516 MB / 0.7698 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.259e-05/0.7938, allocations: 40.27 kB / 0.7698 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.7942, allocations: 427.8 kB / 0.7703 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.7944, allocations: 247 kB / 0.7705 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.7947, allocations: 151 kB / 0.7706 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.7949, allocations: 378.9 kB / 0.771 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.7954, allocations: 244.7 kB / 0.7712 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.7961, allocations: 466 kB / 0.7717 GB, free: 432 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.7972, allocations: 0.5696 MB / 0.7722 GB, free: 116 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7972, allocations: 2.656 kB / 0.7722 GB, free: 116 kB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002216/0.7994, allocations: 0.7884 MB / 0.773 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.7994, allocations: 7.656 kB / 0.773 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7994, allocations: 2.969 kB / 0.773 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/0.8001, allocations: 88.16 kB / 0.7731 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.8007, allocations: 147.5 kB / 0.7732 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.803, allocations: 1.51 MB / 0.7747 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.8037, allocations: 75.55 kB / 0.7748 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/0.8038, allocations: 33.02 kB / 0.7748 GB, free: 14.12 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 (84): * Single equations (assignments): 83 * 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.0004914/0.8043, allocations: 260.3 kB / 0.7751 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.8045, allocations: 77.88 kB / 0.7751 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.8069, allocations: 0.9954 MB / 0.7761 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.8069, allocations: 10.5 kB / 0.7761 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.8069, allocations: 0 / 0.7761 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.8069, allocations: 3.984 kB / 0.7761 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.8103, allocations: 1.655 MB / 0.7777 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8103, allocations: 2.938 kB / 0.7777 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.8109, allocations: 141.3 kB / 0.7779 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.8113, allocations: 78.28 kB / 0.778 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.8114, allocations: 23.52 kB / 0.778 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.8135, allocations: 1.521 MB / 0.7795 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.8135, allocations: 7.938 kB / 0.7795 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.8157, allocations: 0.9325 MB / 0.7804 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.8162, allocations: 176.3 kB / 0.7805 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.8163, allocations: 14.91 kB / 0.7806 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.817, allocations: 58.72 kB / 0.7806 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.8171, allocations: 64.75 kB / 0.7807 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.8172, allocations: 28.92 kB / 0.7807 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006289/0.8178, allocations: 403.2 kB / 0.7811 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.8178, allocations: 4 kB / 0.7811 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001049/0.8189, allocations: 329.7 kB / 0.7814 GB, free: 9.617 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 (84): * Single equations (assignments): 81 * 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.002243/0.8211, allocations: 0.6517 MB / 0.782 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.8229, allocations: 0.7438 MB / 0.7828 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8229, allocations: 2.25 kB / 0.7828 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.8238, allocations: 471.3 kB / 0.7832 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8251, allocations: 265.8 kB / 0.7835 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.8294, allocations: 1.764 MB / 0.7852 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.8299, allocations: 442.8 kB / 0.7856 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000863/0.8308, allocations: 255.6 kB / 0.7859 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.831, allocations: 98.78 kB / 0.786 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of SimCode: time 1.112e-06/0.831, allocations: 4 kB / 0.786 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of Templates: time 0.02782/0.8589, allocations: 14.44 MB / 0.8001 GB, free: 12.49 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9699485070304945] Failed to read output from testmodel.py, exit status != 0: 0.8681384400697425 0.89217426 0.11557039200000001 Calling exit ...