Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001589/0.001589, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001936/0.001936, allocations: 214.7 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8276/0.8276, allocations: 134 MB / 447.2 MB, free: 10.27 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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.00184/0.00184, allocations: 62.06 kB / 0.6193 GB, free: 7.266 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1727, allocations: 85.91 MB / 0.7032 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006405/0.1791, allocations: 4.266 MB / 0.7074 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5633/0.7424, allocations: 154.2 MB / 0.8579 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006757/0.743, allocations: 23.81 kB / 0.8579 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.7436, allocations: 181.4 kB / 0.8581 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.745, allocations: 0.5068 MB / 0.8586 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.7469, allocations: 0.8405 MB / 0.8594 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.7482, allocations: 1.234 MB / 0.8606 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007029/0.7489, allocations: 449.9 kB / 0.8611 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.7494, allocations: 478.3 kB / 0.8615 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.75, allocations: 481.8 kB / 0.862 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.7501, allocations: 108 kB / 0.8621 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008597/0.751, allocations: 0.5011 MB / 0.8626 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.7513, allocations: 283.1 kB / 0.8629 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.7517, allocations: 0.509 MB / 0.8633 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.7535, allocations: 1.558 MB / 0.8649 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7535, allocations: 4 kB / 0.8649 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7535, allocations: 0 / 0.8649 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.7535, allocations: 0 / 0.8649 GB, free: 1.043 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002254/0.7558, allocations: 1.327 MB / 0.8662 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7558, allocations: 16.03 kB / 0.8662 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.631e-05/0.7558, allocations: 22.19 kB / 0.8662 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.756, allocations: 131.3 kB / 0.8663 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.7578, allocations: 256 kB / 0.8666 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.759, allocations: 0.6906 MB / 0.8672 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.7591, allocations: 62 kB / 0.8673 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.7592, allocations: 80 kB / 0.8674 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.7607, allocations: 0.8833 MB / 0.8682 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.7607, allocations: 0 / 0.8682 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/0.7608, allocations: 35.98 kB / 0.8683 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.7608, allocations: 24 kB / 0.8683 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.7626, allocations: 1.097 MB / 0.8694 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.7668, allocations: 2.43 MB / 0.8717 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.7681, allocations: 0.6866 MB / 0.8724 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.7686, allocations: 262.6 kB / 0.8727 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.064e-05/0.7687, allocations: 36.59 kB / 0.8727 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008447/0.7695, allocations: 447.2 kB / 0.8731 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.355e-06/0.7695, allocations: 0 / 0.8731 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.003086/0.7726, allocations: 1.054 MB / 0.8742 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.7728, allocations: 188.6 kB / 0.8743 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/0.7736, allocations: 0.6292 MB / 0.875 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.7736, allocations: 41.7 kB / 0.875 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.774, allocations: 389 kB / 0.8754 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.7742, allocations: 257.8 kB / 0.8756 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.7744, allocations: 142.6 kB / 0.8757 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.7746, allocations: 390.7 kB / 0.8761 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.7751, allocations: 226.6 kB / 0.8763 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006464/0.7757, allocations: 342.2 kB / 0.8767 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7768, allocations: 0.5589 MB / 0.8772 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7768, allocations: 0 / 0.8772 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001823/0.7786, allocations: 0.7592 MB / 0.8779 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.7786, allocations: 8 kB / 0.878 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7786, allocations: 3 kB / 0.878 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.7792, allocations: 88.77 kB / 0.878 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.7798, allocations: 143.8 kB / 0.8782 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.7821, allocations: 1.528 MB / 0.8797 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.7826, allocations: 83.61 kB / 0.8798 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.7827, allocations: 27.98 kB / 0.8798 GB, free: 1.312 MB / 0.6387 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 (81): * Single equations (assignments): 80 * 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.0004166/0.7831, allocations: 261.6 kB / 0.88 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.7833, allocations: 83.48 kB / 0.8801 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.7856, allocations: 1.032 MB / 0.8811 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.7856, allocations: 8 kB / 0.8811 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.7856, allocations: 0 / 0.8811 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.7857, allocations: 7.922 kB / 0.8811 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.789, allocations: 1.869 MB / 0.883 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.789, allocations: 4 kB / 0.883 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/0.7896, allocations: 147.7 kB / 0.8831 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.7901, allocations: 76.72 kB / 0.8832 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.7901, allocations: 19.98 kB / 0.8832 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.7921, allocations: 1.574 MB / 0.8847 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7921, allocations: 0 / 0.8847 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.7941, allocations: 0.9398 MB / 0.8856 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.7945, allocations: 183.2 kB / 0.8858 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.7946, allocations: 16 kB / 0.8858 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.7952, allocations: 55.94 kB / 0.8859 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.7953, allocations: 64.88 kB / 0.886 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.7954, allocations: 31.98 kB / 0.886 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000666/0.796, allocations: 463 kB / 0.8864 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.796, allocations: 4 kB / 0.8864 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008237/0.7969, allocations: 295.2 kB / 0.8867 GB, free: 10 MB / 0.6544 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 (87): * Single equations (assignments): 84 * 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.004127/0.801, allocations: 1.987 MB / 0.8887 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.8027, allocations: 0.7317 MB / 0.8894 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8027, allocations: 3.938 kB / 0.8894 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.8036, allocations: 472.3 kB / 0.8898 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.8049, allocations: 273 kB / 0.8901 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.8163, allocations: 6.155 MB / 0.8961 GB, free: 488 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.8169, allocations: 1.007 MB / 0.8971 GB, free: 15.44 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007886/0.8177, allocations: 258.5 kB / 0.8973 GB, free: 15.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/0.8183, allocations: 367.3 kB / 0.8977 GB, free: 14.82 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.8183, allocations: 7.875 kB / 0.8977 GB, free: 14.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05717/0.8754, allocations: 21.35 MB / 0.9185 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.38, allocations: 0 / 0.9185 GB, free: 9.633 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.1841048510978] Failed to read output from testmodel.py, exit status != 0: 14.653035607072525 14.669867748 13.91315286 Calling exit ...