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.0007302/0.0007302, 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.001222/0.001222, allocations: 223.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 0.9829/0.9829, allocations: 230.6 MB / 256 MB, free: 9.793 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.825/0.825, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.001458/0.001458, allocations: 66.08 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5091, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004929/0.514, allocations: 4.896 MB / 0.8226 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1336/0.6476, allocations: 154.1 MB / 0.9731 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006953/0.6483, allocations: 23.81 kB / 0.9732 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.6488, allocations: 194.2 kB / 0.9733 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.6501, allocations: 0.5531 MB / 0.9739 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.6517, allocations: 0.8818 MB / 0.9747 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.6528, allocations: 1.386 MB / 0.9761 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.6533, allocations: 413.8 kB / 0.9765 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.6538, allocations: 498.3 kB / 0.977 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.6542, allocations: 0.5056 MB / 0.9775 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.6543, allocations: 116 kB / 0.9776 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.655, allocations: 0.5074 MB / 0.9781 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.6552, allocations: 303 kB / 0.9784 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.6555, allocations: 0.5557 MB / 0.9789 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.657, allocations: 1.668 MB / 0.9805 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.657, allocations: 0 / 0.9805 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.373e-06/0.657, allocations: 0 / 0.9805 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.657, allocations: 0 / 0.9805 GB, free: 14.82 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001796/0.6588, allocations: 1.4 MB / 0.9819 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6589, allocations: 12.03 kB / 0.9819 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.659, allocations: 131.3 kB / 0.982 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009319/0.6599, allocations: 243.9 kB / 0.9823 GB, free: 13 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009027/0.6608, allocations: 0.7024 MB / 0.983 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.6609, allocations: 62 kB / 0.983 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.6609, allocations: 76 kB / 0.9831 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.662, allocations: 0.9127 MB / 0.984 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.662, allocations: 0 / 0.984 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.662, allocations: 36 kB / 0.984 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.6621, allocations: 20 kB / 0.984 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.6632, allocations: 1.1 MB / 0.9851 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.666, allocations: 2.666 MB / 0.9877 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.6672, allocations: 0.7455 MB / 0.9884 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.6675, allocations: 278.7 kB / 0.9887 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.422e-05/0.6676, allocations: 36.48 kB / 0.9887 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/0.6685, allocations: 483.2 kB / 0.9892 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=79): time 2.585e-06/0.6685, allocations: 4 kB / 0.9892 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79): time 0.001826/0.6704, allocations: 1.116 MB / 0.9903 GB, free: 4.555 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.6704, allocations: 192.6 kB / 0.9905 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.671, allocations: 0.6411 MB / 0.9911 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.6711, allocations: 41.7 kB / 0.9911 GB, free: 3.629 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.6713, allocations: 401 kB / 0.9915 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.6714, allocations: 273.7 kB / 0.9918 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.6716, allocations: 138.6 kB / 0.9919 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6717, allocations: 398.7 kB / 0.9923 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.672, allocations: 241.9 kB / 0.9925 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.6723, allocations: 354.5 kB / 0.9929 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.673, allocations: 0.5722 MB / 0.9934 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.673, allocations: 0 / 0.9934 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001058/0.674, allocations: 0.7945 MB / 0.9942 GB, free: 432 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6741, allocations: 8 kB / 0.9942 GB, free: 424 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6741, allocations: 0 / 0.9942 GB, free: 424 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.6744, allocations: 84.86 kB / 0.9943 GB, free: 336 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.6747, allocations: 151.8 kB / 0.9944 GB, free: 184 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.676, allocations: 1.535 MB / 0.9959 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.6765, allocations: 88.44 kB / 0.996 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.6765, allocations: 40.03 kB / 0.9961 GB, free: 14.41 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.0002665/0.6768, allocations: 265.5 kB / 0.9963 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.6769, allocations: 87.44 kB / 0.9964 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.6782, allocations: 1.058 MB / 0.9974 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6782, allocations: 8 kB / 0.9974 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.6782, allocations: 0 / 0.9974 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6782, allocations: 7.922 kB / 0.9974 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.68, allocations: 1.907 MB / 0.9993 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.68, allocations: 4 kB / 0.9993 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.6803, allocations: 139.8 kB / 0.9994 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.6805, allocations: 72.78 kB / 0.9995 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.6805, allocations: 27.98 kB / 0.9995 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.6816, allocations: 1.559 MB / 1.001 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6816, allocations: 0 / 1.001 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.6827, allocations: 0.9946 MB / 1.002 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.6829, allocations: 199.1 kB / 1.002 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.683, allocations: 16 kB / 1.002 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.6833, allocations: 59.94 kB / 1.002 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6834, allocations: 72.8 kB / 1.002 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.6834, allocations: 39.97 kB / 1.002 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003718/0.6838, allocations: 475 kB / 1.003 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6838, allocations: 0 / 1.003 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007348/0.6845, allocations: 319.2 kB / 1.003 GB, free: 6.914 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.002118/0.6867, allocations: 2.032 MB / 1.005 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009567/0.6876, allocations: 0.7648 MB / 1.006 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6876, allocations: 0 / 1.006 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.6881, allocations: 0.4964 MB / 1.006 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.6888, allocations: 295.4 kB / 1.007 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.6952, allocations: 6.219 MB / 1.013 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.6956, allocations: 1.023 MB / 1.014 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005692/0.6962, allocations: 266.6 kB / 1.014 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.6966, allocations: 391.2 kB / 1.014 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of SimCode: time 1.262e-06/0.6966, allocations: 4 kB / 1.014 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.7343, allocations: 22.22 MB / 1.036 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/9.458, allocations: 7.797 kB / 1.036 GB, free: 5.375 MB / 0.8073 GB " [Timeout remaining time 650] (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.64437861298211] Failed to read output from testmodel.py, exit status != 0: 9.61125836102292 9.624071834 8.96492697 Calling exit ...