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.001265/0.001265, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002518/0.002518, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.376/1.376, allocations: 230.6 MB / 256 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.8353/0.8353, allocations: 134 MB / 446.4 MB, free: 9.922 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.001928/0.001928, allocations: 71.44 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.156, allocations: 85.9 MB / 0.7024 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005788/0.1618, allocations: 3.873 MB / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4852/0.647, allocations: 132.6 MB / 0.8356 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006437/0.6476, allocations: 23.03 kB / 0.8357 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006222/0.6482, allocations: 175.4 kB / 0.8358 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.6498, allocations: 0.5008 MB / 0.8363 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.6517, allocations: 0.8472 MB / 0.8372 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.6531, allocations: 1.23 MB / 0.8384 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.6539, allocations: 492 kB / 0.8388 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.6546, allocations: 495.9 kB / 0.8393 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000692/0.6553, allocations: 439.5 kB / 0.8397 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.6555, allocations: 116 kB / 0.8398 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000979/0.6564, allocations: 0.4948 MB / 0.8403 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.6568, allocations: 295 kB / 0.8406 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004944/0.6573, allocations: 445.7 kB / 0.841 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.6593, allocations: 1.648 MB / 0.8426 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6593, allocations: 0 / 0.8426 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6593, allocations: 0 / 0.8426 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.6593, allocations: 0 / 0.8426 GB, free: 3.641 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.002158/0.6614, allocations: 1.377 MB / 0.844 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6615, allocations: 12.03 kB / 0.844 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.6616, allocations: 143.8 kB / 0.8441 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.6633, allocations: 260 kB / 0.8444 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.6645, allocations: 0.7058 MB / 0.8451 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.6646, allocations: 66.81 kB / 0.8451 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.6647, allocations: 95.92 kB / 0.8452 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.6665, allocations: 1.204 MB / 0.8464 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.6665, allocations: 4 kB / 0.8464 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.6666, allocations: 36 kB / 0.8464 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.6666, allocations: 24 kB / 0.8464 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.6684, allocations: 1.085 MB / 0.8475 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.6721, allocations: 2.264 MB / 0.8497 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.6735, allocations: 0.6986 MB / 0.8504 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.674, allocations: 266.6 kB / 0.8507 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.6745, allocations: 84.66 kB / 0.8507 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008422/0.6753, allocations: 0.5332 MB / 0.8513 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.245e-06/0.6753, allocations: 0 / 0.8513 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002846/0.6781, allocations: 1.03 MB / 0.8523 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.6783, allocations: 192.6 kB / 0.8524 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007917/0.6791, allocations: 0.6293 MB / 0.8531 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.6791, allocations: 37.7 kB / 0.8531 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.6794, allocations: 412.9 kB / 0.8535 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.6796, allocations: 253.8 kB / 0.8537 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.6798, allocations: 138.2 kB / 0.8539 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.68, allocations: 382.7 kB / 0.8542 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.6805, allocations: 229.2 kB / 0.8544 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.6811, allocations: 451.3 kB / 0.8549 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.6822, allocations: 0.5433 MB / 0.8554 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6822, allocations: 0 / 0.8554 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001784/0.684, allocations: 0.7396 MB / 0.8561 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.684, allocations: 4 kB / 0.8561 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.684, allocations: 4 kB / 0.8561 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.6845, allocations: 84.86 kB / 0.8562 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.6851, allocations: 139.8 kB / 0.8564 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.6872, allocations: 1.513 MB / 0.8578 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005397/0.6877, allocations: 86.95 kB / 0.8579 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.6878, allocations: 27.98 kB / 0.8579 GB, free: 3.395 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.0003945/0.6882, allocations: 261.6 kB / 0.8582 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.6883, allocations: 79.48 kB / 0.8583 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.6905, allocations: 1.003 MB / 0.8592 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6906, allocations: 8 kB / 0.8593 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6906, allocations: 4 kB / 0.8593 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6906, allocations: 7.922 kB / 0.8593 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.6938, allocations: 1.779 MB / 0.861 GB, free: 192 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6938, allocations: 2.906 kB / 0.861 GB, free: 192 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/0.6944, allocations: 139.8 kB / 0.8611 GB, free: 52 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.6948, allocations: 80.72 kB / 0.8612 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.6949, allocations: 19.98 kB / 0.8612 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.6968, allocations: 1.551 MB / 0.8627 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6968, allocations: 0 / 0.8627 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.6987, allocations: 0.9321 MB / 0.8637 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.6991, allocations: 187.1 kB / 0.8638 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.6992, allocations: 20 kB / 0.8639 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.6997, allocations: 55.94 kB / 0.8639 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.6998, allocations: 60.89 kB / 0.864 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.6999, allocations: 31.97 kB / 0.864 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005743/0.7005, allocations: 455 kB / 0.8644 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7005, allocations: 0 / 0.8644 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000834/0.7013, allocations: 315.1 kB / 0.8647 GB, free: 12.23 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.004107/0.7054, allocations: 2.046 MB / 0.8667 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.707, allocations: 0.7084 MB / 0.8674 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.707, allocations: 7.938 kB / 0.8674 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008533/0.7078, allocations: 476.1 kB / 0.8679 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.7089, allocations: 280.2 kB / 0.8682 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.7196, allocations: 6.132 MB / 0.8741 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.72, allocations: 440.2 kB / 0.8746 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007665/0.7208, allocations: 270.2 kB / 0.8748 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.7213, allocations: 379.3 kB / 0.8752 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/0.7213, allocations: 0 / 0.8752 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.7818, allocations: 22.23 MB / 0.8969 GB, free: 11.58 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.77, allocations: 4.062 kB / 0.8969 GB, free: 11.57 MB / 0.67 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.498260180000216] Failed to read output from testmodel.py, exit status != 0: 13.995656413026154 14.011780859 13.348541437 Calling exit ...