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.0009745/0.0009745, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001042/0.001042, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.027/1.027, allocations: 230.6 MB / 256 MB, free: 9.602 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.7667/0.7667, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0008793/0.0008793, allocations: 70.23 kB / 0.7181 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4914, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00464/0.4961, allocations: 4.4 MB / 0.8221 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1376/0.6336, allocations: 132.7 MB / 0.9516 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.6347, allocations: 23.81 kB / 0.9517 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.6352, allocations: 198.2 kB / 0.9519 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.6371, allocations: 0.5668 MB / 0.9524 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.6389, allocations: 0.8598 MB / 0.9532 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009306/0.6398, allocations: 1.409 MB / 0.9546 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.6404, allocations: 401.7 kB / 0.955 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.6408, allocations: 0.4984 MB / 0.9555 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.6412, allocations: 465.8 kB / 0.9559 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.6413, allocations: 123.9 kB / 0.9561 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.642, allocations: 495.6 kB / 0.9565 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.6422, allocations: 303 kB / 0.9568 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.6425, allocations: 469.7 kB / 0.9573 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.6439, allocations: 1.707 MB / 0.9589 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6439, allocations: 4 kB / 0.9589 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6439, allocations: 0 / 0.9589 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.644, allocations: 0 / 0.9589 GB, free: 4.648 MB / 0.7292 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.001921/0.6459, allocations: 1.403 MB / 0.9603 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6459, allocations: 8.031 kB / 0.9603 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.646, allocations: 135.4 kB / 0.9604 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/0.6469, allocations: 248 kB / 0.9607 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.6477, allocations: 0.718 MB / 0.9614 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.6477, allocations: 62 kB / 0.9614 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.6478, allocations: 80 kB / 0.9615 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6488, allocations: 1.169 MB / 0.9627 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.6489, allocations: 0 / 0.9627 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-05/0.6489, allocations: 40 kB / 0.9627 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.6489, allocations: 20 kB / 0.9627 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.65, allocations: 1.069 MB / 0.9638 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.6523, allocations: 2.228 MB / 0.9659 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.6535, allocations: 0.7673 MB / 0.9667 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.6538, allocations: 282.7 kB / 0.967 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.226e-05/0.6539, allocations: 24.62 kB / 0.967 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005787/0.6545, allocations: 0.5885 MB / 0.9676 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=79): time 2.424e-06/0.6545, allocations: 0 / 0.9676 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=79): time 0.001791/0.6563, allocations: 1.123 MB / 0.9686 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.6563, allocations: 192.5 kB / 0.9688 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.6569, allocations: 0.6528 MB / 0.9695 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.6569, allocations: 41.7 kB / 0.9695 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.6571, allocations: 409 kB / 0.9699 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.6573, allocations: 257.8 kB / 0.9701 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.6574, allocations: 154.6 kB / 0.9703 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6575, allocations: 390.7 kB / 0.9707 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.6578, allocations: 245.9 kB / 0.9709 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.6582, allocations: 483.1 kB / 0.9714 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.6589, allocations: 0.5916 MB / 0.9719 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6589, allocations: 0 / 0.9719 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001068/0.66, allocations: 0.8101 MB / 0.9727 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.66, allocations: 4 kB / 0.9727 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.66, allocations: 4 kB / 0.9727 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/0.6603, allocations: 88.8 kB / 0.9728 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.6609, allocations: 143.8 kB / 0.973 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.6624, allocations: 1.542 MB / 0.9745 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.6627, allocations: 83.47 kB / 0.9745 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.6627, allocations: 36.05 kB / 0.9746 GB, free: 4.051 MB / 0.7448 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.000261/0.663, allocations: 273.5 kB / 0.9748 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.475e-05/0.6631, allocations: 87.44 kB / 0.9749 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.6644, allocations: 1.062 MB / 0.976 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6645, allocations: 11.94 kB / 0.976 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.6645, allocations: 0 / 0.976 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6645, allocations: 3.984 kB / 0.976 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.6664, allocations: 1.83 MB / 0.9778 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6665, allocations: 4 kB / 0.9778 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.6667, allocations: 139.8 kB / 0.9779 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/0.667, allocations: 80.78 kB / 0.978 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.667, allocations: 23.98 kB / 0.978 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.6682, allocations: 1.551 MB / 0.9795 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6682, allocations: 4.031 kB / 0.9795 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.6696, allocations: 0.9986 MB / 0.9805 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.6698, allocations: 207.1 kB / 0.9807 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.6699, allocations: 23.98 kB / 0.9807 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.6702, allocations: 63.88 kB / 0.9808 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6703, allocations: 80.8 kB / 0.9808 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.6704, allocations: 35.97 kB / 0.9809 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000374/0.6707, allocations: 471 kB / 0.9813 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.6707, allocations: 0 / 0.9813 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006092/0.6714, allocations: 323.1 kB / 0.9816 GB, free: 12.6 MB / 0.7605 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.002335/0.6737, allocations: 2.071 MB / 0.9837 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.6748, allocations: 0.7726 MB / 0.9844 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6748, allocations: 0 / 0.9844 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.6753, allocations: 0.4964 MB / 0.9849 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.6761, allocations: 307.9 kB / 0.9852 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/0.6827, allocations: 6.284 MB / 0.9913 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.683, allocations: 439.7 kB / 0.9918 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000454/0.6834, allocations: 262.7 kB / 0.992 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.6838, allocations: 387.3 kB / 0.9924 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of SimCode: time 9.22e-07/0.6838, allocations: 0 / 0.9924 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.7177, allocations: 23.48 MB / 1.015 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.936, allocations: 6.953 kB / 1.015 GB, free: 10.38 MB / 0.7917 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.09179755486548] Failed to read output from testmodel.py, exit status != 0: 9.08693864243105 9.097296099 8.451331535 Calling exit ...