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.001385/0.001385, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001404/0.001404, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.8368/0.8368, allocations: 133.9 MB / 442.8 MB, free: 11.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",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.001931/0.001931, allocations: 62.16 kB / 0.6134 GB, free: 8.773 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 85.85 MB / 0.6972 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006522/0.1746, allocations: 4.249 MB / 0.7014 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5593/0.7339, allocations: 153.9 MB / 0.8517 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.7348, allocations: 23.81 kB / 0.8517 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.7355, allocations: 173.4 kB / 0.8519 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.7373, allocations: 0.4901 MB / 0.8524 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.7396, allocations: 0.8304 MB / 0.8532 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.7415, allocations: 1.227 MB / 0.8544 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000987/0.7425, allocations: 0.5121 MB / 0.8549 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.7434, allocations: 490.2 kB / 0.8554 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.7441, allocations: 497.7 kB / 0.8558 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.7443, allocations: 116 kB / 0.8559 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.7455, allocations: 0.5241 MB / 0.8565 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.7458, allocations: 299 kB / 0.8567 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.7464, allocations: 0.5401 MB / 0.8573 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.749, allocations: 1.637 MB / 0.8589 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.749, allocations: 4 kB / 0.8589 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.254e-06/0.749, allocations: 0 / 0.8589 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.964e-05/0.749, allocations: 0 / 0.8589 GB, free: 2.836 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002744/0.7518, allocations: 1.453 MB / 0.8603 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.7518, allocations: 13.11 kB / 0.8603 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/0.752, allocations: 147.6 kB / 0.8604 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.7539, allocations: 263.9 kB / 0.8607 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.7554, allocations: 0.7702 MB / 0.8615 GB, free: 96 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.7555, allocations: 66 kB / 0.8615 GB, free: 28 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.7556, allocations: 84.05 kB / 0.8616 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.7574, allocations: 0.9534 MB / 0.8625 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.7575, allocations: 0 / 0.8625 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.7576, allocations: 43.94 kB / 0.8626 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.7576, allocations: 24 kB / 0.8626 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.7596, allocations: 1.128 MB / 0.8637 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00442/0.764, allocations: 2.548 MB / 0.8662 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.7657, allocations: 0.7775 MB / 0.8669 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.7663, allocations: 267.5 kB / 0.8672 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007292/0.767, allocations: 470.2 kB / 0.8676 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000904/0.7679, allocations: 439.2 kB / 0.8681 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.7679, allocations: 0 / 0.8681 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003316/0.7712, allocations: 1.102 MB / 0.8691 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.7713, allocations: 192.5 kB / 0.8693 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.7723, allocations: 0.6254 MB / 0.8699 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/0.7723, allocations: 37.7 kB / 0.87 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.7727, allocations: 424.8 kB / 0.8704 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.773, allocations: 253.9 kB / 0.8706 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.7732, allocations: 138.2 kB / 0.8707 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.7734, allocations: 386.7 kB / 0.8711 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.7739, allocations: 221.2 kB / 0.8713 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.7746, allocations: 326.8 kB / 0.8716 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.7758, allocations: 0.5471 MB / 0.8722 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7758, allocations: 3.812 kB / 0.8722 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002034/0.7778, allocations: 0.7396 MB / 0.8729 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.7778, allocations: 6.5 kB / 0.8729 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.7778, allocations: 3.984 kB / 0.8729 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.7784, allocations: 84.86 kB / 0.873 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.7791, allocations: 135.8 kB / 0.8731 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.7814, allocations: 1.634 MB / 0.8747 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.782, allocations: 79.64 kB / 0.8748 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.7821, allocations: 27.98 kB / 0.8748 GB, free: 1.855 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: 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.0004654/0.7825, allocations: 257.6 kB / 0.8751 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.7827, allocations: 83.48 kB / 0.8751 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.7852, allocations: 1.003 MB / 0.8761 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.7852, allocations: 8 kB / 0.8761 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.7852, allocations: 0 / 0.8761 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.7853, allocations: 7.922 kB / 0.8761 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.7889, allocations: 1.909 MB / 0.878 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7889, allocations: 0 / 0.878 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.7895, allocations: 147.8 kB / 0.8781 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/0.79, allocations: 72.78 kB / 0.8782 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.79, allocations: 23.98 kB / 0.8782 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.7922, allocations: 1.666 MB / 0.8799 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7922, allocations: 0 / 0.8799 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.7944, allocations: 0.9282 MB / 0.8808 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.7948, allocations: 268.2 kB / 0.881 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.795, allocations: 20 kB / 0.881 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.7956, allocations: 52.92 kB / 0.8811 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.7957, allocations: 56.92 kB / 0.8811 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/0.7958, allocations: 35.97 kB / 0.8812 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006959/0.7965, allocations: 455 kB / 0.8816 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7965, allocations: 7.938 kB / 0.8816 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001022/0.7975, allocations: 319 kB / 0.8819 GB, free: 10.31 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 (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.004496/0.802, allocations: 1.996 MB / 0.8839 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.8039, allocations: 0.7121 MB / 0.8846 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8039, allocations: 0 / 0.8846 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/0.8049, allocations: 472.4 kB / 0.885 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.8062, allocations: 290.1 kB / 0.8853 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.8185, allocations: 6.132 MB / 0.8913 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.8193, allocations: 1.027 MB / 0.8923 GB, free: 15.75 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008845/0.8202, allocations: 266.2 kB / 0.8925 GB, free: 15.49 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/0.8208, allocations: 383.3 kB / 0.8929 GB, free: 15.11 MB / 0.67 GB Notification: Performance of SimCode: time 7.31e-07/0.8208, allocations: 0 / 0.8929 GB, free: 15.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/0.8834, allocations: 20.85 MB / 0.9133 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.97, allocations: 4 kB / 0.9133 GB, free: 10.54 MB / 0.6856 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 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: 17.831499702006113] Failed to read output from testmodel.py, exit status != 0: 14.180456618007156 14.194777055 13.442836037 Calling exit ...