Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007982/0.0007982, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008754/0.0008754, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.003/1.003, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8041/0.8041, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_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.001006/0.001006, allocations: 66.08 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5473, allocations: 102 MB / 0.8178 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005876/0.5532, allocations: 4.927 MB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1607/0.7138, allocations: 154.1 MB / 0.9732 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008834/0.7147, allocations: 23.81 kB / 0.9732 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.7152, allocations: 198.2 kB / 0.9734 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.7167, allocations: 0.5544 MB / 0.9739 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.7184, allocations: 0.8875 MB / 0.9748 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.7194, allocations: 1.398 MB / 0.9762 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.72, allocations: 429.7 kB / 0.9766 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.7204, allocations: 0.4984 MB / 0.977 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.7211, allocations: 0.5134 MB / 0.9776 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.7212, allocations: 123.9 kB / 0.9777 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/0.7219, allocations: 0.5074 MB / 0.9782 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.722, allocations: 307 kB / 0.9785 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.7224, allocations: 0.5635 MB / 0.979 GB, free: 440 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.7236, allocations: 1.695 MB / 0.9807 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.7236, allocations: 0 / 0.9807 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7236, allocations: 0 / 0.9807 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.7236, allocations: 0 / 0.9807 GB, free: 14.73 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001518/0.7252, allocations: 1.415 MB / 0.982 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7252, allocations: 12.03 kB / 0.9821 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.7253, allocations: 131.4 kB / 0.9822 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008152/0.7261, allocations: 252 kB / 0.9824 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.7269, allocations: 0.7141 MB / 0.9831 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.727, allocations: 66 kB / 0.9832 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.7271, allocations: 76 kB / 0.9833 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.7283, allocations: 0.9223 MB / 0.9842 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.7283, allocations: 3.938 kB / 0.9842 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.7284, allocations: 36 kB / 0.9842 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.7284, allocations: 27.94 kB / 0.9842 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.7296, allocations: 1.108 MB / 0.9853 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.732, allocations: 2.709 MB / 0.9879 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.733, allocations: 0.7661 MB / 0.9887 GB, free: 6.266 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.7334, allocations: 282.7 kB / 0.989 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/0.7334, allocations: 28.59 kB / 0.989 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005356/0.734, allocations: 0.4919 MB / 0.9895 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=79): time 1.864e-06/0.734, allocations: 4 kB / 0.9895 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79): time 0.001757/0.7357, allocations: 1.119 MB / 0.9906 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.7358, allocations: 188.6 kB / 0.9907 GB, free: 4.094 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.7366, allocations: 0.6489 MB / 0.9914 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.7367, allocations: 41.7 kB / 0.9914 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.7369, allocations: 405 kB / 0.9918 GB, free: 2.988 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.737, allocations: 273.7 kB / 0.9921 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.7371, allocations: 142.6 kB / 0.9922 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7372, allocations: 394.7 kB / 0.9926 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.7376, allocations: 245.9 kB / 0.9928 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.7379, allocations: 354.5 kB / 0.9932 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.7386, allocations: 0.5877 MB / 0.9937 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7386, allocations: 0 / 0.9937 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001064/0.7397, allocations: 0.8024 MB / 0.9945 GB, free: 156 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.7397, allocations: 7.938 kB / 0.9945 GB, free: 148 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7397, allocations: 96 / 0.9945 GB, free: 148 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.74, allocations: 92.59 kB / 0.9946 GB, free: 52 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.7403, allocations: 151.8 kB / 0.9948 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.7417, allocations: 1.539 MB / 0.9963 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.742, allocations: 95.53 kB / 0.9963 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.742, allocations: 31.97 kB / 0.9964 GB, free: 14.12 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0002609/0.7423, allocations: 269.6 kB / 0.9966 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.7424, allocations: 83.48 kB / 0.9967 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.7438, allocations: 1.066 MB / 0.9978 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.7438, allocations: 11.94 kB / 0.9978 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.7438, allocations: 0 / 0.9978 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.7438, allocations: 7.984 kB / 0.9978 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.7459, allocations: 1.959 MB / 0.9997 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.7459, allocations: 0 / 0.9997 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.7462, allocations: 143.8 kB / 0.9998 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.7464, allocations: 76.73 kB / 0.9999 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.7465, allocations: 27.97 kB / 0.9999 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.7475, allocations: 1.574 MB / 1.001 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7475, allocations: 4.062 kB / 1.001 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.7487, allocations: 0.9984 MB / 1.002 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.7489, allocations: 199.1 kB / 1.003 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.749, allocations: 20 kB / 1.003 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.7493, allocations: 62.89 kB / 1.003 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.7494, allocations: 72.86 kB / 1.003 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.7495, allocations: 39.97 kB / 1.003 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003821/0.7499, allocations: 475 kB / 1.003 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.7499, allocations: 0 / 1.003 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005923/0.7505, allocations: 323.1 kB / 1.004 GB, free: 6.527 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002562/0.753, allocations: 2.049 MB / 1.006 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009845/0.754, allocations: 0.7648 MB / 1.006 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.754, allocations: 0 / 1.006 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005278/0.7545, allocations: 0.4965 MB / 1.007 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.7553, allocations: 303.8 kB / 1.007 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006895/0.7622, allocations: 6.285 MB / 1.013 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.7626, allocations: 1.023 MB / 1.014 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005064/0.7631, allocations: 262.6 kB / 1.014 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.7634, allocations: 379.3 kB / 1.015 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of SimCode: time 8.32e-07/0.7634, allocations: 0 / 1.015 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.8013, allocations: 22.5 MB / 1.037 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/9.332, allocations: 7.922 kB / 1.037 GB, free: 4.641 MB / 0.8073 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.527513479115441] Failed to read output from testmodel.py, exit status != 0: 9.48303787293844 9.492089952 8.766782804 Calling exit ...