Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.0009244/0.0009244, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009211/0.0009211, allocations: 208.1 kB / 22.25 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 0.9886/0.9886, allocations: 230.6 MB / 256 MB, free: 9.594 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.782/0.782, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.0008737/0.0008737, allocations: 70.67 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4942, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004259/0.4985, allocations: 4.382 MB / 0.8221 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1268/0.6253, allocations: 132.7 MB / 0.9516 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.6262, allocations: 19.81 kB / 0.9516 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.6269, allocations: 198.2 kB / 0.9518 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.6285, allocations: 0.5574 MB / 0.9524 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.6302, allocations: 0.8497 MB / 0.9532 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.6313, allocations: 1.386 MB / 0.9546 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.6318, allocations: 389.8 kB / 0.9549 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.6323, allocations: 0.4983 MB / 0.9554 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.6327, allocations: 453.8 kB / 0.9559 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.674e-05/0.6328, allocations: 116 kB / 0.956 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006823/0.6334, allocations: 499.6 kB / 0.9564 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.6336, allocations: 303 kB / 0.9567 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.6339, allocations: 457.8 kB / 0.9572 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.6353, allocations: 1.672 MB / 0.9588 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6353, allocations: 3.938 kB / 0.9588 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.815e-06/0.6353, allocations: 0 / 0.9588 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.6353, allocations: 0 / 0.9588 GB, free: 4.754 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001636/0.637, allocations: 1.403 MB / 0.9602 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.637, allocations: 8.031 kB / 0.9602 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.6371, allocations: 131.3 kB / 0.9603 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.6379, allocations: 236 kB / 0.9605 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.6388, allocations: 0.7064 MB / 0.9612 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.6389, allocations: 62 kB / 0.9613 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.6389, allocations: 83.94 kB / 0.9614 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.64, allocations: 1.15 MB / 0.9625 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.64, allocations: 0 / 0.9625 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.6401, allocations: 35.98 kB / 0.9625 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.6401, allocations: 24 kB / 0.9625 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6411, allocations: 1.05 MB / 0.9636 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.6434, allocations: 2.199 MB / 0.9657 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009198/0.6443, allocations: 0.739 MB / 0.9664 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.6446, allocations: 278.7 kB / 0.9667 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.6447, allocations: 28.56 kB / 0.9667 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/0.6453, allocations: 0.5762 MB / 0.9673 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=79): time 1.833e-06/0.6453, allocations: 3.938 kB / 0.9673 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=79): time 0.001725/0.647, allocations: 1.113 MB / 0.9684 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.6471, allocations: 188.6 kB / 0.9686 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.6476, allocations: 0.645 MB / 0.9692 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.6477, allocations: 45.69 kB / 0.9692 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.6479, allocations: 405 kB / 0.9696 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.648, allocations: 269.7 kB / 0.9699 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.6481, allocations: 146.5 kB / 0.97 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6482, allocations: 390.7 kB / 0.9704 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.6485, allocations: 245.9 kB / 0.9706 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.6489, allocations: 475.1 kB / 0.9711 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.6495, allocations: 0.5838 MB / 0.9716 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6495, allocations: 0 / 0.9716 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001172/0.6507, allocations: 0.7984 MB / 0.9724 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.6507, allocations: 8 kB / 0.9724 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6507, allocations: 0 / 0.9724 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.651, allocations: 84.8 kB / 0.9725 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.6514, allocations: 155.8 kB / 0.9727 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.6526, allocations: 1.515 MB / 0.9741 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.6529, allocations: 95.44 kB / 0.9742 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.6529, allocations: 27.98 kB / 0.9743 GB, free: 4.348 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.0002429/0.6531, allocations: 273.7 kB / 0.9745 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.6532, allocations: 83.48 kB / 0.9746 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.6545, allocations: 1.058 MB / 0.9756 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6546, allocations: 8 kB / 0.9756 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.6546, allocations: 0 / 0.9756 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.6546, allocations: 7.922 kB / 0.9757 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.6564, allocations: 1.77 MB / 0.9774 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6564, allocations: 0 / 0.9774 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.6567, allocations: 151.8 kB / 0.9775 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.6569, allocations: 72.72 kB / 0.9776 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.6569, allocations: 23.98 kB / 0.9776 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.658, allocations: 1.555 MB / 0.9791 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.658, allocations: 4.125 kB / 0.9791 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.6593, allocations: 0.9906 MB / 0.9801 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.6596, allocations: 203.1 kB / 0.9803 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.6597, allocations: 19.98 kB / 0.9803 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.66, allocations: 59.94 kB / 0.9804 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6601, allocations: 72.86 kB / 0.9804 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.6601, allocations: 35.97 kB / 0.9805 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003694/0.6605, allocations: 471 kB / 0.9809 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.6605, allocations: 0 / 0.9809 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006272/0.6611, allocations: 319.2 kB / 0.9812 GB, free: 12.99 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.002314/0.6634, allocations: 2.089 MB / 0.9833 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009745/0.6644, allocations: 0.757 MB / 0.984 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6644, allocations: 192 / 0.984 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.6649, allocations: 492.2 kB / 0.9845 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/0.6656, allocations: 310.7 kB / 0.9848 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/0.672, allocations: 6.23 MB / 0.9909 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.6723, allocations: 431.6 kB / 0.9913 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004591/0.6727, allocations: 266.7 kB / 0.9915 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.6731, allocations: 375.3 kB / 0.9919 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of SimCode: time 9.11e-07/0.6731, allocations: 0 / 0.9919 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.7081, allocations: 23.21 MB / 1.015 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/9.012, allocations: 8 kB / 1.015 GB, free: 11.11 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.152156808879226] Failed to read output from testmodel.py, exit status != 0: 9.164879500865936 9.176442693 8.539304351 Calling exit ...