Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.00124/0.00124, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001352/0.001352, allocations: 206.4 kB / 22.24 MB, free: 5.262 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.793 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.8373/0.8373, allocations: 134 MB / 446.4 MB, free: 9.941 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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.002009/0.002009, allocations: 66.73 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1759, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005996/0.1819, allocations: 3.766 MB / 0.706 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5183/0.7002, allocations: 132.5 MB / 0.8355 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007613/0.701, allocations: 22.97 kB / 0.8355 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.7017, allocations: 171.5 kB / 0.8357 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.7035, allocations: 498.2 kB / 0.8361 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.7057, allocations: 0.8237 MB / 0.8369 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.7072, allocations: 1.202 MB / 0.8381 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.7081, allocations: 413.8 kB / 0.8385 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.7088, allocations: 457.4 kB / 0.8389 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000726/0.7096, allocations: 396.5 kB / 0.8393 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.7098, allocations: 111.9 kB / 0.8394 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.711, allocations: 489.2 kB / 0.8399 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.7114, allocations: 275.1 kB / 0.8401 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.712, allocations: 405.9 kB / 0.8405 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.7142, allocations: 1.551 MB / 0.8421 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7142, allocations: 4 kB / 0.8421 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7142, allocations: 0 / 0.8421 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.898e-05/0.7142, allocations: 0 / 0.8421 GB, free: 4.25 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002631/0.7169, allocations: 1.296 MB / 0.8433 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7169, allocations: 12.03 kB / 0.8433 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.7171, allocations: 135 kB / 0.8435 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.7188, allocations: 232 kB / 0.8437 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.72, allocations: 0.6792 MB / 0.8443 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.7201, allocations: 58 kB / 0.8444 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.7202, allocations: 72.75 kB / 0.8445 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.7219, allocations: 1.111 MB / 0.8456 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.7219, allocations: 3.938 kB / 0.8456 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.722, allocations: 32 kB / 0.8456 GB, free: 476 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.722, allocations: 20 kB / 0.8456 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.7237, allocations: 1.018 MB / 0.8466 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.7275, allocations: 2.104 MB / 0.8487 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.7288, allocations: 0.6754 MB / 0.8493 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.7293, allocations: 266 kB / 0.8496 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.86e-05/0.7294, allocations: 16.64 kB / 0.8496 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000822/0.7302, allocations: 0.5225 MB / 0.8501 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/0.7302, allocations: 0 / 0.8501 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.00294/0.7331, allocations: 0.9978 MB / 0.8511 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.7333, allocations: 196.6 kB / 0.8513 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008512/0.7341, allocations: 0.6042 MB / 0.8518 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.7342, allocations: 41.64 kB / 0.8519 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.7345, allocations: 384.9 kB / 0.8523 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.7348, allocations: 249.9 kB / 0.8525 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.735, allocations: 126.2 kB / 0.8526 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.7352, allocations: 386.8 kB / 0.853 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.7356, allocations: 213.2 kB / 0.8532 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.7362, allocations: 443.3 kB / 0.8536 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.7372, allocations: 0.5238 MB / 0.8541 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7372, allocations: 4 kB / 0.8541 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001759/0.739, allocations: 0.7161 MB / 0.8548 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.739, allocations: 8 kB / 0.8548 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.739, allocations: 3.984 kB / 0.8548 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.7396, allocations: 80.88 kB / 0.8549 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.7402, allocations: 135.8 kB / 0.855 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.7423, allocations: 1.529 MB / 0.8565 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.7429, allocations: 67.62 kB / 0.8566 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.743, allocations: 31.98 kB / 0.8566 GB, free: 4.754 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 (73): * Single equations (assignments): 72 * 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.000442/0.7434, allocations: 263.6 kB / 0.8569 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.7436, allocations: 83.42 kB / 0.857 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.7458, allocations: 0.9536 MB / 0.8579 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.7458, allocations: 12.05 kB / 0.8579 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.7458, allocations: 3.984 kB / 0.8579 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.7458, allocations: 3.984 kB / 0.8579 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.7492, allocations: 1.719 MB / 0.8596 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7492, allocations: 0 / 0.8596 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.7497, allocations: 131.8 kB / 0.8597 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.7501, allocations: 80.72 kB / 0.8598 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.7502, allocations: 27.92 kB / 0.8598 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.7521, allocations: 1.555 MB / 0.8613 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7521, allocations: 0 / 0.8613 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.754, allocations: 0.9035 MB / 0.8622 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.7544, allocations: 183.2 kB / 0.8624 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.7545, allocations: 19.94 kB / 0.8624 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.755, allocations: 52.64 kB / 0.8625 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.7552, allocations: 56.89 kB / 0.8625 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.7552, allocations: 31.98 kB / 0.8625 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000595/0.7558, allocations: 459 kB / 0.863 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7558, allocations: 0 / 0.863 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008176/0.7567, allocations: 279.2 kB / 0.8633 GB, free: 13.77 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 (81): * Single equations (assignments): 78 * 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.00417/0.7608, allocations: 1.987 MB / 0.8652 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.7624, allocations: 0.6966 MB / 0.8659 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7624, allocations: 0 / 0.8659 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008738/0.7633, allocations: 456.3 kB / 0.8663 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.7645, allocations: 279.4 kB / 0.8666 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.7754, allocations: 5.905 MB / 0.8723 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.7759, allocations: 414.3 kB / 0.8727 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008125/0.7767, allocations: 250.1 kB / 0.873 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.7773, allocations: 351.3 kB / 0.8733 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/0.7773, allocations: 4 kB / 0.8733 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06333/0.8406, allocations: 21.4 MB / 0.8942 GB, free: 14.34 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.79, allocations: 12.66 kB / 0.8942 GB, free: 14.33 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.534893279895186] Failed to read output from testmodel.py, exit status != 0: 14.006877280771732 14.024037003 13.306716966 Calling exit ...