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.001282/0.001282, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001432/0.001432, allocations: 214.7 kB / 22.25 MB, free: 5.133 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 8.023 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.8377/0.8377, allocations: 134 MB / 446.4 MB, free: 10.31 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.001931/0.001931, allocations: 67.05 kB / 0.6185 GB, free: 7.281 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.159, allocations: 85.91 MB / 0.7024 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007014/0.166, allocations: 5.002 MB / 0.7073 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.54/0.706, allocations: 154.4 MB / 0.8581 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.707, allocations: 27.81 kB / 0.8581 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006964/0.7077, allocations: 196.5 kB / 0.8583 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.7095, allocations: 0.6171 MB / 0.8589 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.7121, allocations: 0.9216 MB / 0.8598 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.7139, allocations: 1.604 MB / 0.8614 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.715, allocations: 0.7749 MB / 0.8622 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009294/0.7159, allocations: 0.7161 MB / 0.8629 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008421/0.7167, allocations: 0.7506 MB / 0.8636 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.717, allocations: 176 kB / 0.8638 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.718, allocations: 0.5719 MB / 0.8643 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.7184, allocations: 434.6 kB / 0.8647 GB, free: 396 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007198/0.7191, allocations: 0.7849 MB / 0.8655 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.7219, allocations: 2.238 MB / 0.8677 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7219, allocations: 0 / 0.8677 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7219, allocations: 0 / 0.8677 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.333e-05/0.722, allocations: 4 kB / 0.8677 GB, free: 13.35 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.003273/0.7252, allocations: 1.786 MB / 0.8694 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7253, allocations: 8.031 kB / 0.8694 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/0.7255, allocations: 207.3 kB / 0.8696 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.7292, allocations: 439.5 kB / 0.8701 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.7308, allocations: 0.8596 MB / 0.8709 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.7309, allocations: 106.9 kB / 0.871 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.7311, allocations: 136 kB / 0.8711 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.7335, allocations: 1.428 MB / 0.8725 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.7335, allocations: 3.938 kB / 0.8725 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.7336, allocations: 63.98 kB / 0.8726 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.7336, allocations: 40 kB / 0.8726 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.7361, allocations: 1.505 MB / 0.8741 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006068/0.7421, allocations: 3.673 MB / 0.8777 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.7438, allocations: 0.8951 MB / 0.8786 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006575/0.7445, allocations: 364.5 kB / 0.8789 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.7446, allocations: 53.06 kB / 0.879 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.7456, allocations: 0.5709 MB / 0.8795 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 2.154e-06/0.7456, allocations: 4 kB / 0.8795 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.003776/0.7494, allocations: 1.411 MB / 0.8809 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.7495, allocations: 196.9 kB / 0.8811 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.7505, allocations: 0.7787 MB / 0.8818 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.7506, allocations: 45.7 kB / 0.8819 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.7511, allocations: 0.5752 MB / 0.8825 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.7514, allocations: 364.9 kB / 0.8828 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.7516, allocations: 198.5 kB / 0.883 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7518, allocations: 345.9 kB / 0.8833 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.7524, allocations: 341.8 kB / 0.8836 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/0.7533, allocations: 466.4 kB / 0.8841 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.7548, allocations: 0.8 MB / 0.8849 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7548, allocations: 0 / 0.8849 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002439/0.7572, allocations: 1.079 MB / 0.8859 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7572, allocations: 6.5 kB / 0.8859 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7572, allocations: 4 kB / 0.8859 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.7578, allocations: 84.78 kB / 0.886 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/0.7587, allocations: 215.7 kB / 0.8862 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.7609, allocations: 1.535 MB / 0.8877 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/0.7618, allocations: 119.3 kB / 0.8878 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/0.7619, allocations: 43.97 kB / 0.8879 GB, free: 8.188 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.0005725/0.7624, allocations: 309.6 kB / 0.8882 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.7626, allocations: 111.2 kB / 0.8883 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.7657, allocations: 1.389 MB / 0.8896 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.7657, allocations: 15.94 kB / 0.8896 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.7657, allocations: 0 / 0.8896 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.7658, allocations: 11.91 kB / 0.8897 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/0.7702, allocations: 2.548 MB / 0.8921 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.7702, allocations: 0 / 0.8921 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/0.771, allocations: 191.7 kB / 0.8923 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.7714, allocations: 72.78 kB / 0.8924 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.7715, allocations: 31.97 kB / 0.8924 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.7735, allocations: 1.574 MB / 0.894 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7735, allocations: 0 / 0.894 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.7761, allocations: 1.182 MB / 0.8951 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.7766, allocations: 254.9 kB / 0.8954 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.7768, allocations: 27.89 kB / 0.8954 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/0.7775, allocations: 51.95 kB / 0.8954 GB, free: 224 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.7777, allocations: 92.83 kB / 0.8955 GB, free: 132 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.7777, allocations: 35.98 kB / 0.8956 GB, free: 96 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008942/0.7786, allocations: 0.5969 MB / 0.8961 GB, free: 15.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7786, allocations: 0 / 0.8961 GB, free: 15.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001089/0.7797, allocations: 398.8 kB / 0.8965 GB, free: 15.09 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.00451/0.7842, allocations: 2.234 MB / 0.8987 GB, free: 13.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.7863, allocations: 0.9755 MB / 0.8997 GB, free: 12.06 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7863, allocations: 0 / 0.8997 GB, free: 12.06 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.7874, allocations: 0.5745 MB / 0.9002 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.7887, allocations: 309.1 kB / 0.9005 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.8037, allocations: 8.219 MB / 0.9085 GB, free: 2.836 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008463/0.8046, allocations: 1.169 MB / 0.9097 GB, free: 1.637 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009669/0.8055, allocations: 311.5 kB / 0.91 GB, free: 1.332 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008055/0.8063, allocations: 0.5578 MB / 0.9105 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of SimCode: time 1.603e-06/0.8063, allocations: 4 kB / 0.9105 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07209/0.8784, allocations: 27.36 MB / 0.9373 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.28, allocations: 11.8 kB / 0.9373 GB, free: 5.562 MB / 0.7012 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.009955980996892] Failed to read output from testmodel.py, exit status != 0: 15.509615424998628 15.527938949 14.802601717 Calling exit ...