Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.001936/0.001936, allocations: 103 kB / 16.45 MB, free: 6.449 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.001525/0.001525, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.611/1.611, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.9227/0.9227, allocations: 133.9 MB / 442.8 MB, free: 11.29 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.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.002034/0.002034, allocations: 64.25 kB / 0.6134 GB, free: 8.809 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2007, allocations: 85.85 MB / 0.6972 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006439/0.2071, allocations: 4.223 MB / 0.7014 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5661/0.7732, allocations: 154 MB / 0.8518 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/0.7739, allocations: 23.81 kB / 0.8518 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.7745, allocations: 169.4 kB / 0.852 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.776, allocations: 0.5037 MB / 0.8525 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.7779, allocations: 0.8101 MB / 0.8533 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.7793, allocations: 1.242 MB / 0.8545 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007551/0.78, allocations: 457.4 kB / 0.8549 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.7807, allocations: 474.3 kB / 0.8554 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.7813, allocations: 477.9 kB / 0.8558 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.7814, allocations: 111.9 kB / 0.8559 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.7824, allocations: 0.5006 MB / 0.8564 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.7827, allocations: 279.1 kB / 0.8567 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.7832, allocations: 0.5128 MB / 0.8572 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.7851, allocations: 1.554 MB / 0.8587 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7851, allocations: 4 kB / 0.8587 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7851, allocations: 0 / 0.8587 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.7852, allocations: 1.594 kB / 0.8587 GB, free: 3.062 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002762/0.7879, allocations: 1.399 MB / 0.8601 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 8.847e-05/0.788, allocations: 17.11 kB / 0.8601 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001957/0.7882, allocations: 131.3 kB / 0.8602 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.7902, allocations: 260 kB / 0.8605 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.7915, allocations: 0.7585 MB / 0.8612 GB, free: 412 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.7915, allocations: 62.88 kB / 0.8613 GB, free: 348 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.7916, allocations: 76 kB / 0.8614 GB, free: 272 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.7932, allocations: 0.8833 MB / 0.8622 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.7933, allocations: 4 kB / 0.8622 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.7933, allocations: 36 kB / 0.8623 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.7934, allocations: 20 kB / 0.8623 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.7953, allocations: 1.1 MB / 0.8633 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/0.7996, allocations: 2.482 MB / 0.8658 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.801, allocations: 0.695 MB / 0.8664 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.8015, allocations: 264.5 kB / 0.8667 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-05/0.8016, allocations: 36.59 kB / 0.8667 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008342/0.8024, allocations: 443.2 kB / 0.8672 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.284e-06/0.8024, allocations: 0 / 0.8672 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.003285/0.8057, allocations: 1.125 MB / 0.8683 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.8058, allocations: 192.6 kB / 0.8684 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/0.8067, allocations: 0.6253 MB / 0.8691 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.8068, allocations: 41.7 kB / 0.8691 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.8071, allocations: 400.9 kB / 0.8695 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.8073, allocations: 257.8 kB / 0.8697 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.8075, allocations: 138.6 kB / 0.8699 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.8077, allocations: 386.7 kB / 0.8702 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.8083, allocations: 237.9 kB / 0.8704 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.8089, allocations: 336.3 kB / 0.8708 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.81, allocations: 0.5589 MB / 0.8713 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.81, allocations: 0 / 0.8713 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001983/0.812, allocations: 0.7708 MB / 0.8721 GB, free: 5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.812, allocations: 7.75 kB / 0.8721 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.812, allocations: 0 / 0.8721 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.8126, allocations: 80.84 kB / 0.8722 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.8133, allocations: 147.8 kB / 0.8723 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.8156, allocations: 1.63 MB / 0.8739 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.8162, allocations: 72.83 kB / 0.874 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.8163, allocations: 36.03 kB / 0.874 GB, free: 2.895 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 (81): * Single equations (assignments): 80 * 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.0004283/0.8167, allocations: 252.3 kB / 0.8742 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.8169, allocations: 91.56 kB / 0.8743 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.8194, allocations: 1.021 MB / 0.8753 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.8194, allocations: 8 kB / 0.8753 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8194, allocations: 3.984 kB / 0.8753 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.8194, allocations: 3.984 kB / 0.8753 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.8229, allocations: 1.909 MB / 0.8772 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.8229, allocations: 0 / 0.8772 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.8235, allocations: 151.8 kB / 0.8773 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.824, allocations: 72.73 kB / 0.8774 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.824, allocations: 23.98 kB / 0.8774 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.8261, allocations: 1.654 MB / 0.879 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.8261, allocations: 3.938 kB / 0.879 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.8282, allocations: 0.9361 MB / 0.88 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.8286, allocations: 272.2 kB / 0.8802 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.8288, allocations: 27.89 kB / 0.8802 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005915/0.8293, allocations: 47.95 kB / 0.8803 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.8295, allocations: 64.91 kB / 0.8804 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.8296, allocations: 31.98 kB / 0.8804 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006368/0.8302, allocations: 463 kB / 0.8808 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.8302, allocations: 0 / 0.8808 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000902/0.8311, allocations: 291.3 kB / 0.8811 GB, free: 11.34 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 (87): * Single equations (assignments): 84 * 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.004289/0.8354, allocations: 1.988 MB / 0.883 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.8372, allocations: 0.7317 MB / 0.8838 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8372, allocations: 0 / 0.8838 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.8381, allocations: 468.2 kB / 0.8842 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.8395, allocations: 293.8 kB / 0.8845 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.8511, allocations: 6.148 MB / 0.8905 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.8518, allocations: 1.007 MB / 0.8915 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008061/0.8526, allocations: 266.4 kB / 0.8917 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.8532, allocations: 367.3 kB / 0.8921 GB, free: 156 kB / 0.6544 GB Notification: Performance of SimCode: time 7.42e-07/0.8532, allocations: 4 kB / 0.8921 GB, free: 152 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05982/0.913, allocations: 20.77 MB / 0.9124 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.97, allocations: 5.281 kB / 0.9124 GB, free: 11.64 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.15547229499498] Failed to read output from testmodel.py, exit status != 0: 14.180103601000155 14.202510366 13.413180172 Calling exit ...