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.0013/0.0013, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001526/0.001526, allocations: 213.4 kB / 22.24 MB, free: 5.105 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.832 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.8331/0.8331, allocations: 134 MB / 446.4 MB, free: 10.04 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.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001953/0.001953, allocations: 67.11 kB / 0.6185 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1572, allocations: 85.91 MB / 0.7024 GB, free: 1.113 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006104/0.1633, allocations: 3.873 MB / 0.7062 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4984/0.6617, allocations: 132.6 MB / 0.8356 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/0.6624, allocations: 22.47 kB / 0.8356 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.6631, allocations: 177.3 kB / 0.8358 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.6648, allocations: 0.4884 MB / 0.8363 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.6667, allocations: 0.8467 MB / 0.8371 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.6681, allocations: 1.227 MB / 0.8383 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008671/0.669, allocations: 0.493 MB / 0.8388 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007238/0.6697, allocations: 491.3 kB / 0.8392 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007175/0.6704, allocations: 439.1 kB / 0.8397 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.6707, allocations: 120 kB / 0.8398 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.6717, allocations: 0.4897 MB / 0.8403 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.6721, allocations: 307 kB / 0.8406 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.6726, allocations: 437.8 kB / 0.841 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.6748, allocations: 1.652 MB / 0.8426 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6748, allocations: 0 / 0.8426 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6748, allocations: 0 / 0.8426 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.096e-05/0.6749, allocations: 0 / 0.8426 GB, free: 3.762 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.002705/0.6776, allocations: 1.377 MB / 0.8439 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6776, allocations: 12.03 kB / 0.8439 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.6778, allocations: 151.9 kB / 0.8441 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/0.6802, allocations: 352.4 kB / 0.8444 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.6815, allocations: 0.7103 MB / 0.8451 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.6815, allocations: 66 kB / 0.8452 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.6817, allocations: 88 kB / 0.8453 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.6837, allocations: 1.259 MB / 0.8465 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.6837, allocations: 0 / 0.8465 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.6838, allocations: 44 kB / 0.8465 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.6839, allocations: 20 kB / 0.8466 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.6861, allocations: 1.178 MB / 0.8477 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004252/0.6904, allocations: 2.26 MB / 0.8499 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.6927, allocations: 0.8179 MB / 0.8507 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007203/0.6934, allocations: 311.4 kB / 0.851 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.438e-05/0.6935, allocations: 24.64 kB / 0.851 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.6946, allocations: 0.58 MB / 0.8516 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=75): time 2.324e-06/0.6946, allocations: 0 / 0.8516 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75): time 0.003543/0.6981, allocations: 1.166 MB / 0.8527 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.6982, allocations: 198.7 kB / 0.8529 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/0.6991, allocations: 0.6214 MB / 0.8535 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.6991, allocations: 45.7 kB / 0.8536 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.6995, allocations: 417 kB / 0.854 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.6997, allocations: 257.8 kB / 0.8542 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.6999, allocations: 138.2 kB / 0.8544 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.7001, allocations: 390.7 kB / 0.8547 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.7008, allocations: 269.1 kB / 0.855 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00085/0.7017, allocations: 0.4915 MB / 0.8555 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.7031, allocations: 0.6252 MB / 0.8561 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.7031, allocations: 0 / 0.8561 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002202/0.7053, allocations: 0.8333 MB / 0.8569 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7053, allocations: 8 kB / 0.8569 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7054, allocations: 0 / 0.8569 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.7059, allocations: 84.81 kB / 0.857 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/0.7066, allocations: 163.8 kB / 0.8571 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.709, allocations: 1.519 MB / 0.8586 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.7098, allocations: 103.5 kB / 0.8587 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.7098, allocations: 27.97 kB / 0.8587 GB, free: 2.656 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 (78): * Single equations (assignments): 77 * 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.0004324/0.7103, allocations: 257.6 kB / 0.859 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.7104, allocations: 83.44 kB / 0.8591 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.7132, allocations: 1.113 MB / 0.8602 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.7132, allocations: 8 kB / 0.8602 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7132, allocations: 3.938 kB / 0.8602 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.7132, allocations: 3.984 kB / 0.8602 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.7171, allocations: 1.904 MB / 0.862 GB, free: 15.21 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7171, allocations: 0 / 0.862 GB, free: 15.21 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/0.7178, allocations: 175.7 kB / 0.8622 GB, free: 15.04 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.7182, allocations: 72.44 kB / 0.8623 GB, free: 14.97 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.7183, allocations: 27.98 kB / 0.8623 GB, free: 14.95 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.7202, allocations: 1.543 MB / 0.8638 GB, free: 13.28 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7202, allocations: 3.984 kB / 0.8638 GB, free: 13.28 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.7225, allocations: 1.026 MB / 0.8648 GB, free: 12.23 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.7229, allocations: 191.1 kB / 0.865 GB, free: 12.04 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.723, allocations: 19.94 kB / 0.865 GB, free: 12.02 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/0.7237, allocations: 79.98 kB / 0.8651 GB, free: 11.95 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.7239, allocations: 64.88 kB / 0.8651 GB, free: 11.88 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.7239, allocations: 27.98 kB / 0.8652 GB, free: 11.86 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0005958/0.7245, allocations: 459 kB / 0.8656 GB, free: 11.41 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1e-07/0.7245, allocations: 0 / 0.8656 GB, free: 11.41 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0008483/0.7254, allocations: 311.1 kB / 0.8659 GB, free: 11.11 MB / 0.6388 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.004576/0.73, allocations: 2.115 MB / 0.868 GB, free: 9.223 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.7319, allocations: 0.8176 MB / 0.8688 GB, free: 8.398 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7319, allocations: 0 / 0.8688 GB, free: 8.398 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.733, allocations: 0.508 MB / 0.8693 GB, free: 7.875 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7342, allocations: 294.3 kB / 0.8695 GB, free: 7.613 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.7464, allocations: 6.445 MB / 0.8758 GB, free: 1.055 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.7468, allocations: 443.9 kB / 0.8763 GB, free: 0.5898 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0008295/0.7477, allocations: 270.5 kB / 0.8765 GB, free: 328 kB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005927/0.7482, allocations: 391.3 kB / 0.8769 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of SimCode: time 8.51e-07/0.7482, allocations: 0 / 0.8769 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06203/0.8103, allocations: 22.62 MB / 0.899 GB, free: 9.516 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.84, allocations: 2.578 kB / 0.899 GB, free: 9.516 MB / 0.67 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.590999014209956] Failed to read output from testmodel.py, exit status != 0: 14.069181963801384 14.09668716 13.417100231 Calling exit ...