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.00129/0.00129, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001418/0.001418, allocations: 217.2 kB / 23.03 MB, free: 4.949 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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.81/0.81, allocations: 134 MB / 447.2 MB, free: 9.934 MB / 350.1 MB " [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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) [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.001866/0.001866, allocations: 66.48 kB / 0.6192 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1639, allocations: 85.91 MB / 0.7031 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006131/0.1701, allocations: 3.869 MB / 0.7069 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5165/0.6866, allocations: 132.5 MB / 0.8363 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007214/0.6873, allocations: 21.84 kB / 0.8363 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006685/0.688, allocations: 175.9 kB / 0.8365 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.6897, allocations: 0.4956 MB / 0.837 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.6917, allocations: 0.8446 MB / 0.8378 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.6932, allocations: 1.227 MB / 0.839 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009132/0.6941, allocations: 0.5013 MB / 0.8395 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/0.6949, allocations: 494.6 kB / 0.84 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.6956, allocations: 0.4914 MB / 0.8405 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.6959, allocations: 112 kB / 0.8406 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.697, allocations: 0.5179 MB / 0.8411 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.6974, allocations: 300.8 kB / 0.8414 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.698, allocations: 429.8 kB / 0.8418 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.7005, allocations: 1.648 MB / 0.8434 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7005, allocations: 4 kB / 0.8434 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7005, allocations: 0 / 0.8434 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.93e-05/0.7005, allocations: 0 / 0.8434 GB, free: 3.68 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.003055/0.7036, allocations: 1.377 MB / 0.8447 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.7036, allocations: 12.03 kB / 0.8447 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.417e-05/0.7037, allocations: 22.19 kB / 0.8448 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002112/0.7039, allocations: 147.8 kB / 0.8449 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.7057, allocations: 260 kB / 0.8451 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.7071, allocations: 0.7056 MB / 0.8458 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.7072, allocations: 69.98 kB / 0.8459 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.7073, allocations: 88 kB / 0.846 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.7091, allocations: 1.201 MB / 0.8472 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.7091, allocations: 0 / 0.8472 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.7092, allocations: 40 kB / 0.8472 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.7092, allocations: 24.56 kB / 0.8472 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.7111, allocations: 1.126 MB / 0.8483 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/0.7152, allocations: 2.274 MB / 0.8505 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.7167, allocations: 0.6972 MB / 0.8512 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.7172, allocations: 270.6 kB / 0.8515 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/0.7177, allocations: 80.56 kB / 0.8516 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008934/0.7186, allocations: 0.5216 MB / 0.8521 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/0.7186, allocations: 4 kB / 0.8521 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002988/0.7216, allocations: 1.03 MB / 0.8531 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.7217, allocations: 192.6 kB / 0.8533 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.7225, allocations: 0.6254 MB / 0.8539 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.7226, allocations: 37.7 kB / 0.8539 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.7229, allocations: 420.8 kB / 0.8543 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.7232, allocations: 254 kB / 0.8546 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.7234, allocations: 138.2 kB / 0.8547 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.7236, allocations: 382.7 kB / 0.855 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.7241, allocations: 229.2 kB / 0.8553 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/0.7247, allocations: 455.2 kB / 0.8557 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.7258, allocations: 0.5431 MB / 0.8562 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7258, allocations: 0 / 0.8562 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001895/0.7277, allocations: 0.7396 MB / 0.857 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7277, allocations: 8 kB / 0.857 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7277, allocations: 0 / 0.857 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.7283, allocations: 80.88 kB / 0.857 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.729, allocations: 147.7 kB / 0.8572 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.7311, allocations: 1.516 MB / 0.8587 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.7318, allocations: 83.61 kB / 0.8587 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.123e-05/0.7318, allocations: 27.98 kB / 0.8588 GB, free: 3.363 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: 6 (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 (76): * Single equations (assignments): 75 * 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.0004778/0.7323, allocations: 265.1 kB / 0.859 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.7325, allocations: 79.48 kB / 0.8591 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.7348, allocations: 1.001 MB / 0.8601 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.7348, allocations: 8 kB / 0.8601 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7348, allocations: 7.938 kB / 0.8601 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.7348, allocations: 3.984 kB / 0.8601 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.7381, allocations: 1.775 MB / 0.8618 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7381, allocations: 0 / 0.8618 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.7387, allocations: 139.8 kB / 0.862 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.7392, allocations: 76.86 kB / 0.862 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.7392, allocations: 23.98 kB / 0.8621 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.7412, allocations: 1.551 MB / 0.8636 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7412, allocations: 0 / 0.8636 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.7431, allocations: 0.9322 MB / 0.8645 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.7435, allocations: 187.1 kB / 0.8647 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.7436, allocations: 16 kB / 0.8647 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/0.7442, allocations: 59.94 kB / 0.8647 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.7443, allocations: 60.89 kB / 0.8648 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.7444, allocations: 31.97 kB / 0.8648 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006007/0.745, allocations: 459 kB / 0.8653 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.745, allocations: 0 / 0.8653 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008943/0.7459, allocations: 315.1 kB / 0.8656 GB, free: 12.2 MB / 0.6387 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.004158/0.7501, allocations: 2.033 MB / 0.8675 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.7517, allocations: 0.7161 MB / 0.8682 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7517, allocations: 0 / 0.8682 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.7526, allocations: 472.2 kB / 0.8687 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7538, allocations: 289.9 kB / 0.869 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.7648, allocations: 6.131 MB / 0.875 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.7652, allocations: 439.4 kB / 0.8754 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008596/0.7661, allocations: 266.2 kB / 0.8756 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/0.7667, allocations: 383.2 kB / 0.876 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of SimCode: time 1.372e-06/0.7667, allocations: 4 kB / 0.876 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/0.8217, allocations: 22.02 MB / 0.8975 GB, free: 11.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.46, allocations: 6.641 kB / 0.8975 GB, free: 11.78 MB / 0.67 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.20213968504686] Failed to read output from testmodel.py, exit status != 0: 14.73920175107196 14.755879322 14.052204136 Calling exit ...