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.001744/0.001744, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002242/0.002242, allocations: 212.8 kB / 22.24 MB, free: 5.242 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.781 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.8187/0.8187, allocations: 134 MB / 446.4 MB, free: 9.934 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.002075/0.002075, allocations: 74.86 kB / 0.6185 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1745, allocations: 85.9 MB / 0.7023 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007692/0.1822, allocations: 4.471 MB / 0.7067 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5401/0.7223, allocations: 133 MB / 0.8366 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000753/0.7231, allocations: 25.25 kB / 0.8366 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.7237, allocations: 206.7 kB / 0.8368 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.7253, allocations: 0.6096 MB / 0.8374 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.7272, allocations: 0.914 MB / 0.8383 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.7286, allocations: 1.62 MB / 0.8399 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.7297, allocations: 0.7359 MB / 0.8406 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.7305, allocations: 0.7278 MB / 0.8413 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.7312, allocations: 0.6432 MB / 0.8419 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.7315, allocations: 179.9 kB / 0.8421 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.7325, allocations: 0.551 MB / 0.8426 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004239/0.7329, allocations: 422.6 kB / 0.843 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.7335, allocations: 0.6296 MB / 0.8436 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.7358, allocations: 2.247 MB / 0.8458 GB, free: 328 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7358, allocations: 0 / 0.8458 GB, free: 328 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7359, allocations: 0 / 0.8458 GB, free: 328 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.7359, allocations: 4 kB / 0.8458 GB, free: 324 kB / 0.6075 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.002903/0.7388, allocations: 1.787 MB / 0.8476 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.7388, allocations: 8.031 kB / 0.8476 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000236/0.739, allocations: 211.3 kB / 0.8478 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.7426, allocations: 439.5 kB / 0.8482 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.744, allocations: 0.8596 MB / 0.8491 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.521e-05/0.7441, allocations: 110.8 kB / 0.8492 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.7443, allocations: 136 kB / 0.8493 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.7467, allocations: 1.676 MB / 0.8509 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.7468, allocations: 0 / 0.8509 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.7469, allocations: 64 kB / 0.851 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.7469, allocations: 36 kB / 0.851 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.7494, allocations: 1.464 MB / 0.8524 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005645/0.755, allocations: 3.307 MB / 0.8557 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.7566, allocations: 0.8977 MB / 0.8566 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006449/0.7573, allocations: 359.7 kB / 0.8569 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.792e-05/0.7574, allocations: 36.95 kB / 0.8569 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.7584, allocations: 0.6752 MB / 0.8576 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 2.645e-06/0.7584, allocations: 0 / 0.8576 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=104): time 0.00359/0.762, allocations: 1.407 MB / 0.859 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.7621, allocations: 195.7 kB / 0.8592 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.7631, allocations: 0.7904 MB / 0.8599 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.522e-05/0.7632, allocations: 49.7 kB / 0.86 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/0.7637, allocations: 0.5791 MB / 0.8605 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.764, allocations: 360.9 kB / 0.8609 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.7643, allocations: 198.5 kB / 0.8611 GB, free: 336 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7645, allocations: 345.9 kB / 0.8614 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/0.7651, allocations: 333.8 kB / 0.8617 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.766, allocations: 0.5849 MB / 0.8623 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.7675, allocations: 0.8078 MB / 0.8631 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7675, allocations: 0 / 0.8631 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00235/0.7698, allocations: 1.072 MB / 0.8641 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7698, allocations: 7.938 kB / 0.8641 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.7698, allocations: 0 / 0.8641 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.7704, allocations: 92.72 kB / 0.8642 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008898/0.7713, allocations: 215.7 kB / 0.8644 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.7735, allocations: 1.532 MB / 0.8659 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/0.7742, allocations: 112.6 kB / 0.866 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.7743, allocations: 43.95 kB / 0.8661 GB, free: 11 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 (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.0005077/0.7748, allocations: 309.6 kB / 0.8664 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.775, allocations: 111.3 kB / 0.8665 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/0.7781, allocations: 1.394 MB / 0.8678 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.7781, allocations: 15.94 kB / 0.8678 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.7781, allocations: 7.75 kB / 0.8679 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.7781, allocations: 3.984 kB / 0.8679 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/0.7823, allocations: 2.369 MB / 0.8702 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7823, allocations: 0 / 0.8702 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/0.7831, allocations: 199.7 kB / 0.8704 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.7835, allocations: 72.78 kB / 0.8704 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.7836, allocations: 31.98 kB / 0.8705 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.7856, allocations: 1.558 MB / 0.872 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.7856, allocations: 0 / 0.872 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.7879, allocations: 1.182 MB / 0.8731 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/0.7885, allocations: 242.9 kB / 0.8734 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.7886, allocations: 36.02 kB / 0.8734 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.7893, allocations: 59.94 kB / 0.8735 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.7894, allocations: 76.84 kB / 0.8735 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.35e-05/0.7895, allocations: 43.97 kB / 0.8736 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008143/0.7903, allocations: 0.5969 MB / 0.8742 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7903, allocations: 4 kB / 0.8742 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001013/0.7913, allocations: 402.8 kB / 0.8746 GB, free: 2.086 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 (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.004436/0.7958, allocations: 2.269 MB / 0.8768 GB, free: 40 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.7978, allocations: 0.968 MB / 0.8777 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7978, allocations: 4.062 kB / 0.8777 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.7988, allocations: 0.5743 MB / 0.8783 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.8001, allocations: 311.8 kB / 0.8786 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.8141, allocations: 8.226 MB / 0.8866 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.8148, allocations: 0.5859 MB / 0.8872 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009558/0.8157, allocations: 300.4 kB / 0.8875 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008347/0.8166, allocations: 0.5539 MB / 0.888 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.8166, allocations: 4 kB / 0.888 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07545/0.892, allocations: 28.21 MB / 0.9156 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.08, allocations: 10.58 kB / 0.9156 GB, free: 8.32 MB / 0.6856 GB " [Timeout remaining time 646] (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: 17.767332868184894] Failed to read output from testmodel.py, exit status != 0: 14.309505750890821 14.334395309 13.594137338 Calling exit ...