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.001264/0.001264, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00142/0.00142, allocations: 214.9 kB / 23.03 MB, free: 4.922 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.805 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.8416/0.8416, allocations: 134 MB / 447.2 MB, free: 9.977 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.001882/0.001882, allocations: 65.7 kB / 0.6192 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1737, allocations: 85.92 MB / 0.7031 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006536/0.1803, allocations: 3.839 MB / 0.7069 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5534/0.7337, allocations: 132.6 MB / 0.8364 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000947/0.7346, allocations: 25.22 kB / 0.8364 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.7354, allocations: 177.3 kB / 0.8366 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.7373, allocations: 0.5078 MB / 0.8371 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.7395, allocations: 0.8156 MB / 0.8379 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.7411, allocations: 1.236 MB / 0.8391 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000957/0.7421, allocations: 452.9 kB / 0.8395 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008191/0.7429, allocations: 473.3 kB / 0.84 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.7437, allocations: 477.8 kB / 0.8404 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.7439, allocations: 108 kB / 0.8405 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.7451, allocations: 0.4929 MB / 0.841 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.7455, allocations: 283.1 kB / 0.8413 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005744/0.7461, allocations: 413.8 kB / 0.8417 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.7485, allocations: 1.57 MB / 0.8432 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.7485, allocations: 0 / 0.8432 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7485, allocations: 5.625 kB / 0.8432 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.627e-05/0.7485, allocations: 0 / 0.8432 GB, free: 3.891 MB / 0.6075 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.002922/0.7514, allocations: 1.319 MB / 0.8445 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7515, allocations: 12.03 kB / 0.8445 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.568e-05/0.7515, allocations: 26.12 kB / 0.8445 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.7517, allocations: 135.3 kB / 0.8447 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.7537, allocations: 256 kB / 0.8449 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.7551, allocations: 0.6829 MB / 0.8456 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.7551, allocations: 62 kB / 0.8456 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.7552, allocations: 80 kB / 0.8457 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.7571, allocations: 1.142 MB / 0.8468 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.7571, allocations: 0 / 0.8468 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7572, allocations: 36.08 kB / 0.8469 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.7572, allocations: 20 kB / 0.8469 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.759, allocations: 1.097 MB / 0.848 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.7629, allocations: 2.216 MB / 0.8501 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.7643, allocations: 0.6962 MB / 0.8508 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.7648, allocations: 264.4 kB / 0.8511 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.941e-05/0.7649, allocations: 28.62 kB / 0.8511 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008793/0.7657, allocations: 0.5293 MB / 0.8516 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/0.7657, allocations: 0 / 0.8516 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.003085/0.7688, allocations: 1.05 MB / 0.8526 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.769, allocations: 196.6 kB / 0.8528 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/0.7698, allocations: 0.6292 MB / 0.8534 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.7699, allocations: 41.64 kB / 0.8535 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.7702, allocations: 393 kB / 0.8538 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.7704, allocations: 257.8 kB / 0.8541 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.7707, allocations: 150.6 kB / 0.8542 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002138/0.7709, allocations: 386.7 kB / 0.8546 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.7714, allocations: 229.9 kB / 0.8548 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.772, allocations: 473.4 kB / 0.8553 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7731, allocations: 0.559 MB / 0.8558 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7731, allocations: 3.75 kB / 0.8558 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001808/0.7749, allocations: 0.7591 MB / 0.8566 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.7749, allocations: 8 kB / 0.8566 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7749, allocations: 0 / 0.8566 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.7756, allocations: 84.83 kB / 0.8567 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.7762, allocations: 143.8 kB / 0.8568 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.7784, allocations: 1.522 MB / 0.8583 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.7789, allocations: 79.52 kB / 0.8584 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.779, allocations: 34.48 kB / 0.8584 GB, free: 3.801 MB / 0.6231 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.0003988/0.7794, allocations: 253.7 kB / 0.8586 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.7796, allocations: 79.48 kB / 0.8587 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.7819, allocations: 1.036 MB / 0.8597 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.7819, allocations: 8 kB / 0.8597 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.7819, allocations: 0 / 0.8597 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.7819, allocations: 7.922 kB / 0.8597 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.7851, allocations: 1.752 MB / 0.8614 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.7851, allocations: 0 / 0.8614 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.7857, allocations: 147.8 kB / 0.8616 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.7861, allocations: 80.77 kB / 0.8617 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.7862, allocations: 19.98 kB / 0.8617 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.7882, allocations: 1.551 MB / 0.8632 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7882, allocations: 0 / 0.8632 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.7901, allocations: 0.936 MB / 0.8641 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.7905, allocations: 191.1 kB / 0.8643 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.7906, allocations: 19.94 kB / 0.8643 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.7912, allocations: 53.5 kB / 0.8644 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.7913, allocations: 68.81 kB / 0.8644 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.7914, allocations: 35.97 kB / 0.8645 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006671/0.7921, allocations: 463 kB / 0.8649 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7921, allocations: 0 / 0.8649 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008409/0.7929, allocations: 295.2 kB / 0.8652 GB, free: 12.62 MB / 0.6387 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.004144/0.797, allocations: 2.022 MB / 0.8672 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.7987, allocations: 0.7278 MB / 0.8679 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7987, allocations: 0 / 0.8679 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008567/0.7995, allocations: 472.2 kB / 0.8683 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.8007, allocations: 286.5 kB / 0.8686 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.8115, allocations: 6.152 MB / 0.8746 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.8119, allocations: 422.5 kB / 0.875 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007725/0.8127, allocations: 254.5 kB / 0.8752 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/0.8133, allocations: 375.3 kB / 0.8756 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of SimCode: time 5.92e-07/0.8133, allocations: 0 / 0.8756 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08045/0.8937, allocations: 21.99 MB / 0.8971 GB, free: 12.27 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.66, allocations: 4.062 kB / 0.8971 GB, free: 12.26 MB / 0.67 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.483626273926347] Failed to read output from testmodel.py, exit status != 0: 14.938007273944095 14.955028315 14.203336845 Calling exit ...