Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007924/0.0007924, allocations: 113.9 kB / 18.94 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.0008674/0.0008674, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9546/0.9546, allocations: 230.6 MB / 256 MB, free: 9.777 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.8133/0.8133, allocations: 203.8 MB / 0.5042 GB, free: 10.66 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.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.00156/0.00156, allocations: 69.22 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5349, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005079/0.54, allocations: 5.091 MB / 0.8228 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1415/0.6814, allocations: 154.3 MB / 0.9735 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009269/0.6824, allocations: 27.81 kB / 0.9736 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.6829, allocations: 198.2 kB / 0.9738 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.6846, allocations: 0.5932 MB / 0.9743 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.6862, allocations: 0.8968 MB / 0.9752 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.6873, allocations: 1.464 MB / 0.9766 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005376/0.6878, allocations: 425.9 kB / 0.9771 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.6884, allocations: 0.5373 MB / 0.9776 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.6888, allocations: 0.5484 MB / 0.9781 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.6889, allocations: 124 kB / 0.9782 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.6897, allocations: 0.5152 MB / 0.9787 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.6899, allocations: 326.9 kB / 0.979 GB, free: 424 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.6904, allocations: 0.5869 MB / 0.9796 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.6921, allocations: 1.742 MB / 0.9813 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.6921, allocations: 4 kB / 0.9813 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6921, allocations: 4 kB / 0.9813 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.728e-05/0.6922, allocations: 0 / 0.9813 GB, free: 14.07 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001885/0.694, allocations: 1.468 MB / 0.9828 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6941, allocations: 8.031 kB / 0.9828 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.6942, allocations: 139.7 kB / 0.9829 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.6952, allocations: 267.9 kB / 0.9832 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6963, allocations: 0.7374 MB / 0.9839 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.6963, allocations: 70 kB / 0.9839 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.6964, allocations: 84 kB / 0.984 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.6975, allocations: 0.9652 MB / 0.985 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.6976, allocations: 3.938 kB / 0.985 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.6976, allocations: 36 kB / 0.985 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.6976, allocations: 24 kB / 0.985 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.699, allocations: 1.155 MB / 0.9862 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.7016, allocations: 2.877 MB / 0.989 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009964/0.7026, allocations: 0.7897 MB / 0.9897 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.703, allocations: 298.7 kB / 0.99 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.832e-05/0.703, allocations: 36.67 kB / 0.9901 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/0.7036, allocations: 0.533 MB / 0.9906 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=88): time 1.503e-06/0.7036, allocations: 0 / 0.9906 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of matching and sorting (n=88): time 0.001888/0.7055, allocations: 1.227 MB / 0.9918 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.7056, allocations: 200.8 kB / 0.992 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.7061, allocations: 0.6764 MB / 0.9926 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.7062, allocations: 45.7 kB / 0.9927 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.7064, allocations: 421.1 kB / 0.9931 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.7066, allocations: 301.4 kB / 0.9934 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.7067, allocations: 158.6 kB / 0.9935 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7068, allocations: 394.7 kB / 0.9939 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.7072, allocations: 281.8 kB / 0.9942 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.7076, allocations: 378.5 kB / 0.9945 GB, free: 184 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.7083, allocations: 0.636 MB / 0.9951 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7083, allocations: 0 / 0.9951 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001134/0.7094, allocations: 0.8803 MB / 0.996 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7095, allocations: 10.03 kB / 0.996 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7095, allocations: 3.938 kB / 0.996 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.7097, allocations: 84.83 kB / 0.9961 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.7101, allocations: 167.8 kB / 0.9963 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.7113, allocations: 1.529 MB / 0.9977 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.7116, allocations: 99.47 kB / 0.9978 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.7117, allocations: 39.91 kB / 0.9979 GB, free: 12.59 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0002599/0.7119, allocations: 278.3 kB / 0.9981 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.712, allocations: 91.42 kB / 0.9982 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.7135, allocations: 1.168 MB / 0.9994 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.7135, allocations: 12 kB / 0.9994 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.7135, allocations: 0 / 0.9994 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.7135, allocations: 7.984 kB / 0.9994 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/0.7143, allocations: 0.9182 MB / 1 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.7143, allocations: 0 / 1 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.7146, allocations: 155.8 kB / 1 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.7148, allocations: 76.67 kB / 1.001 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.7148, allocations: 35.97 kB / 1.001 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.7159, allocations: 1.547 MB / 1.002 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7159, allocations: 4.062 kB / 1.002 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.717, allocations: 1.002 MB / 1.003 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.7173, allocations: 211 kB / 1.003 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.7174, allocations: 27.92 kB / 1.003 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.7177, allocations: 67.98 kB / 1.003 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7178, allocations: 84.86 kB / 1.003 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.7178, allocations: 35.97 kB / 1.003 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004023/0.7182, allocations: 0.4912 MB / 1.004 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.7182, allocations: 0 / 1.004 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005411/0.7188, allocations: 335.2 kB / 1.004 GB, free: 5.867 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002271/0.7211, allocations: 2.064 MB / 1.006 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.7221, allocations: 0.8234 MB / 1.007 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7221, allocations: 0 / 1.007 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007066/0.7228, allocations: 0.5237 MB / 1.008 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.7234, allocations: 314 kB / 1.008 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/0.7303, allocations: 6.602 MB / 1.014 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.7307, allocations: 1.044 MB / 1.015 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004988/0.7312, allocations: 283.2 kB / 1.016 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.7316, allocations: 411.2 kB / 1.016 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of SimCode: time 8.92e-07/0.7316, allocations: 0 / 1.016 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.7697, allocations: 23.7 MB / 1.039 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.906/9.675, allocations: 7.844 kB / 1.039 GB, free: 2.289 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.872103705070913] Failed to read output from testmodel.py, exit status != 0: 9.830302193993703 9.83919044 9.144888353 Calling exit ...