Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001294/0.001294, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001419/0.001419, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.801 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.8182/0.8182, allocations: 134 MB / 446.4 MB, free: 9.938 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001925/0.001925, allocations: 64.53 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1636, allocations: 85.91 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006339/0.17, allocations: 3.799 MB / 0.7061 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5078/0.6778, allocations: 132.5 MB / 0.8355 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006863/0.6785, allocations: 22.47 kB / 0.8355 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.6792, allocations: 175.2 kB / 0.8357 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.6808, allocations: 0.4934 MB / 0.8362 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.6829, allocations: 0.8213 MB / 0.837 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.6842, allocations: 1.215 MB / 0.8382 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000745/0.685, allocations: 428.6 kB / 0.8386 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006978/0.6857, allocations: 462.5 kB / 0.839 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/0.6863, allocations: 412.4 kB / 0.8394 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.6866, allocations: 108 kB / 0.8395 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009888/0.6875, allocations: 485.3 kB / 0.84 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.6879, allocations: 279.1 kB / 0.8403 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005298/0.6884, allocations: 405.9 kB / 0.8406 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.6904, allocations: 1.547 MB / 0.8422 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6904, allocations: 0 / 0.8422 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6904, allocations: 4 kB / 0.8422 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.414e-05/0.6905, allocations: 0 / 0.8422 GB, free: 4.176 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002515/0.693, allocations: 1.311 MB / 0.8434 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.693, allocations: 8.031 kB / 0.8434 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.6932, allocations: 131.1 kB / 0.8436 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.6948, allocations: 236.1 kB / 0.8438 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.696, allocations: 0.6753 MB / 0.8445 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.696, allocations: 69.94 kB / 0.8445 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.6961, allocations: 75.98 kB / 0.8446 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.6977, allocations: 1.115 MB / 0.8457 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.6977, allocations: 0 / 0.8457 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.6978, allocations: 32 kB / 0.8457 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.6978, allocations: 20 kB / 0.8457 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.6994, allocations: 1.019 MB / 0.8467 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.703, allocations: 2.108 MB / 0.8488 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.7042, allocations: 0.6706 MB / 0.8494 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.7047, allocations: 255.8 kB / 0.8497 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.7048, allocations: 32.62 kB / 0.8497 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007872/0.7056, allocations: 0.5099 MB / 0.8502 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.7056, allocations: 0 / 0.8502 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72): time 0.002716/0.7083, allocations: 1.006 MB / 0.8512 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.7084, allocations: 192.6 kB / 0.8514 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.7092, allocations: 0.6135 MB / 0.852 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.7092, allocations: 37.7 kB / 0.852 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.7096, allocations: 388.9 kB / 0.8524 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.7098, allocations: 249.9 kB / 0.8526 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.71, allocations: 134.2 kB / 0.8528 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.7102, allocations: 387.3 kB / 0.8531 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.7106, allocations: 220.6 kB / 0.8533 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.7112, allocations: 451.2 kB / 0.8538 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009568/0.7121, allocations: 0.5199 MB / 0.8543 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.7121, allocations: 0 / 0.8543 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00169/0.7138, allocations: 0.731 MB / 0.855 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7139, allocations: 4.094 kB / 0.855 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7139, allocations: 4 kB / 0.855 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005667/0.7144, allocations: 76.78 kB / 0.8551 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.715, allocations: 143.8 kB / 0.8552 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.717, allocations: 1.52 MB / 0.8567 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.7176, allocations: 80.55 kB / 0.8568 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.7176, allocations: 27.98 kB / 0.8568 GB, free: 4.625 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 (75): * Single equations (assignments): 74 * 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.0003785/0.718, allocations: 247.7 kB / 0.857 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.7181, allocations: 83.48 kB / 0.8571 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.7203, allocations: 1.001 MB / 0.8581 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.7203, allocations: 12 kB / 0.8581 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.7203, allocations: 3.938 kB / 0.8581 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7204, allocations: 7.969 kB / 0.8581 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.7234, allocations: 1.728 MB / 0.8598 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7234, allocations: 3.938 kB / 0.8598 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.724, allocations: 143.8 kB / 0.8599 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004099/0.7244, allocations: 72.78 kB / 0.86 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.7244, allocations: 23.98 kB / 0.86 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.7263, allocations: 1.555 MB / 0.8615 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7263, allocations: 0 / 0.8615 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.7281, allocations: 0.9243 MB / 0.8625 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.7285, allocations: 191 kB / 0.8626 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.7286, allocations: 16 kB / 0.8626 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/0.7291, allocations: 56.5 kB / 0.8627 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.7292, allocations: 64.81 kB / 0.8628 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.7293, allocations: 31.98 kB / 0.8628 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005401/0.7298, allocations: 451 kB / 0.8632 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7298, allocations: 0 / 0.8632 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007633/0.7306, allocations: 287 kB / 0.8635 GB, free: 13.55 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 (86): * Single equations (assignments): 83 * 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.003885/0.7345, allocations: 2 MB / 0.8655 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.7359, allocations: 0.7044 MB / 0.8661 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7359, allocations: 4 kB / 0.8661 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008388/0.7368, allocations: 464.2 kB / 0.8666 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.7379, allocations: 285.7 kB / 0.8669 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.7485, allocations: 5.949 MB / 0.8727 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.749, allocations: 414.7 kB / 0.8731 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007545/0.7498, allocations: 254.2 kB / 0.8733 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/0.7504, allocations: 359.3 kB / 0.8736 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/0.7504, allocations: 0 / 0.8736 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.8075, allocations: 21.67 MB / 0.8948 GB, free: 13.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.78, allocations: 13.89 kB / 0.8948 GB, free: 13.77 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.453308023978025] Failed to read output from testmodel.py, exit status != 0: 14.002212786581367 14.018466657 13.32503636 Calling exit ...