Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.001669/0.001669, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002213/0.002213, allocations: 215.8 kB / 23.04 MB, free: 5.07 MB / 14.72 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8233/0.8233, allocations: 134 MB / 447.2 MB, free: 10.19 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="cs",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.00187/0.00187, allocations: 66.92 kB / 0.6193 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1589, allocations: 85.9 MB / 0.7032 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007184/0.166, allocations: 5.004 MB / 0.7081 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5342/0.7002, allocations: 154.4 MB / 0.8589 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009743/0.7012, allocations: 23.81 kB / 0.8589 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.7019, allocations: 209 kB / 0.8591 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.7037, allocations: 0.6059 MB / 0.8597 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.706, allocations: 0.9221 MB / 0.8606 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.7078, allocations: 1.612 MB / 0.8622 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.7089, allocations: 0.7664 MB / 0.8629 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.71, allocations: 0.7278 MB / 0.8636 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008774/0.7109, allocations: 0.7389 MB / 0.8644 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.7111, allocations: 180 kB / 0.8645 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.7122, allocations: 0.5765 MB / 0.8651 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.7126, allocations: 426.6 kB / 0.8655 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007404/0.7133, allocations: 0.7888 MB / 0.8663 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.7161, allocations: 2.236 MB / 0.8685 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7161, allocations: 0 / 0.8685 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7161, allocations: 0 / 0.8685 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.7161, allocations: 0 / 0.8685 GB, free: 13.24 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003305/0.7194, allocations: 1.786 MB / 0.8702 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7195, allocations: 12.03 kB / 0.8702 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.76e-05/0.7195, allocations: 35.05 kB / 0.8702 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002455/0.7198, allocations: 211.3 kB / 0.8704 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/0.7235, allocations: 439.5 kB / 0.8709 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.725, allocations: 0.8633 MB / 0.8717 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/0.7251, allocations: 102.9 kB / 0.8718 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.7253, allocations: 140 kB / 0.8719 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.7277, allocations: 1.428 MB / 0.8733 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.7277, allocations: 0 / 0.8733 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.7278, allocations: 60 kB / 0.8734 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.7278, allocations: 32 kB / 0.8734 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.7304, allocations: 1.521 MB / 0.8749 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006296/0.7367, allocations: 3.668 MB / 0.8785 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.7384, allocations: 0.9052 MB / 0.8794 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.7391, allocations: 363.6 kB / 0.8797 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.7392, allocations: 49.06 kB / 0.8798 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.7402, allocations: 0.575 MB / 0.8803 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 2.594e-06/0.7402, allocations: 4 kB / 0.8803 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.003954/0.7442, allocations: 1.403 MB / 0.8817 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.7443, allocations: 196.9 kB / 0.8819 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.7455, allocations: 0.7827 MB / 0.8827 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/0.7456, allocations: 45.7 kB / 0.8827 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.7462, allocations: 0.583 MB / 0.8833 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.7466, allocations: 360.9 kB / 0.8836 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.7469, allocations: 202.5 kB / 0.8838 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7471, allocations: 341.9 kB / 0.8841 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/0.7478, allocations: 337.8 kB / 0.8845 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008979/0.7487, allocations: 466.4 kB / 0.8849 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.7502, allocations: 0.8078 MB / 0.8857 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7502, allocations: 0 / 0.8857 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002503/0.7527, allocations: 1.068 MB / 0.8867 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.7528, allocations: 8 kB / 0.8867 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7528, allocations: 3.938 kB / 0.8867 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.7534, allocations: 84.83 kB / 0.8868 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.7543, allocations: 215.6 kB / 0.887 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.7567, allocations: 1.54 MB / 0.8885 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.7576, allocations: 107.3 kB / 0.8886 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/0.7577, allocations: 54.2 kB / 0.8887 GB, free: 8.031 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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.000639/0.7583, allocations: 311.9 kB / 0.889 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.7585, allocations: 107.3 kB / 0.8891 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.7617, allocations: 1.389 MB / 0.8904 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.7618, allocations: 19.94 kB / 0.8905 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.7618, allocations: 0 / 0.8905 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.7618, allocations: 3.984 kB / 0.8905 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.7667, allocations: 2.552 MB / 0.893 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7667, allocations: 0 / 0.893 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.7675, allocations: 191.7 kB / 0.8931 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.7679, allocations: 72.78 kB / 0.8932 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.768, allocations: 31.98 kB / 0.8932 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.7702, allocations: 1.582 MB / 0.8948 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7702, allocations: 0 / 0.8948 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.7726, allocations: 1.178 MB / 0.8959 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/0.7732, allocations: 246.9 kB / 0.8962 GB, free: 152 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7733, allocations: 31.89 kB / 0.8962 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/0.774, allocations: 56.78 kB / 0.8963 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.7743, allocations: 84.89 kB / 0.8963 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-05/0.7743, allocations: 43.86 kB / 0.8964 GB, free: 15.94 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009488/0.7753, allocations: 0.5969 MB / 0.897 GB, free: 15.33 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7753, allocations: 0 / 0.897 GB, free: 15.33 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001219/0.7765, allocations: 402.8 kB / 0.8973 GB, free: 14.93 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004555/0.7811, allocations: 2.226 MB / 0.8995 GB, free: 12.89 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.7832, allocations: 0.9678 MB / 0.9005 GB, free: 11.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.7832, allocations: 0 / 0.9005 GB, free: 11.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.7842, allocations: 0.5745 MB / 0.901 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7856, allocations: 316.4 kB / 0.9013 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.8004, allocations: 8.223 MB / 0.9094 GB, free: 2.668 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/0.8013, allocations: 1.17 MB / 0.9105 GB, free: 1.469 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009612/0.8023, allocations: 304.4 kB / 0.9108 GB, free: 1.168 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008433/0.8031, allocations: 0.5539 MB / 0.9113 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of SimCode: time 7.91e-07/0.8031, allocations: 0 / 0.9113 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/0.8698, allocations: 27.4 MB / 0.9381 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.01, allocations: 5.969 kB / 0.9381 GB, free: 5.371 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.782414624933153] Failed to read output from testmodel.py, exit status != 0: 15.28681271604728 15.303329392 14.583861063 Calling exit ...