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.00129/0.00129, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001452/0.001452, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.977 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.8083/0.8083, allocations: 134 MB / 446.4 MB, free: 10.2 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.001907/0.001907, allocations: 68.14 kB / 0.6185 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1462, allocations: 85.91 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006034/0.1523, allocations: 4.262 MB / 0.7066 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4553/0.6075, allocations: 154.2 MB / 0.8572 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006603/0.6082, allocations: 23.81 kB / 0.8572 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.6088, allocations: 169.3 kB / 0.8573 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.6106, allocations: 0.5117 MB / 0.8578 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.6127, allocations: 0.8398 MB / 0.8587 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.6142, allocations: 1.238 MB / 0.8599 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008196/0.6151, allocations: 449.9 kB / 0.8603 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007507/0.6158, allocations: 478.3 kB / 0.8608 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.6165, allocations: 473.9 kB / 0.8612 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.6167, allocations: 108 kB / 0.8613 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.6177, allocations: 0.5048 MB / 0.8618 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.618, allocations: 283.1 kB / 0.8621 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005889/0.6186, allocations: 0.509 MB / 0.8626 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.6208, allocations: 1.558 MB / 0.8641 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.6208, allocations: 4 kB / 0.8641 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.286e-06/0.6208, allocations: 3.984 kB / 0.8641 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.139e-05/0.6208, allocations: 7.938 kB / 0.8641 GB, free: 0.9453 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.002755/0.6236, allocations: 1.323 MB / 0.8654 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6236, allocations: 12.03 kB / 0.8654 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.6238, allocations: 131.3 kB / 0.8655 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.6257, allocations: 252 kB / 0.8658 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.6269, allocations: 0.6947 MB / 0.8665 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.627, allocations: 58 kB / 0.8665 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6271, allocations: 80 kB / 0.8666 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.6286, allocations: 0.8833 MB / 0.8675 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6286, allocations: 0 / 0.8675 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.6287, allocations: 39.98 kB / 0.8675 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.6287, allocations: 20 kB / 0.8675 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.6305, allocations: 1.097 MB / 0.8686 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.6347, allocations: 2.438 MB / 0.871 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.6361, allocations: 0.6905 MB / 0.8716 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.6366, allocations: 258.7 kB / 0.8719 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/0.6367, allocations: 28.61 kB / 0.8719 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/0.6375, allocations: 455.2 kB / 0.8723 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.246e-06/0.6375, allocations: 0 / 0.8723 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.003412/0.6409, allocations: 1.042 MB / 0.8734 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.6411, allocations: 192.6 kB / 0.8735 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009601/0.642, allocations: 0.6253 MB / 0.8742 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/0.6421, allocations: 41.7 kB / 0.8742 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.6425, allocations: 389 kB / 0.8746 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.6428, allocations: 269.7 kB / 0.8748 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.643, allocations: 138.6 kB / 0.875 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.6432, allocations: 394.7 kB / 0.8753 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.6437, allocations: 229.9 kB / 0.8756 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.6442, allocations: 334.2 kB / 0.8759 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.6453, allocations: 0.5589 MB / 0.8764 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6453, allocations: 0 / 0.8764 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001874/0.6472, allocations: 0.7591 MB / 0.8772 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6472, allocations: 11.94 kB / 0.8772 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6472, allocations: 0 / 0.8772 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.6478, allocations: 84.83 kB / 0.8772 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.6484, allocations: 148.8 kB / 0.8774 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.6505, allocations: 1.534 MB / 0.8789 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.6511, allocations: 78.52 kB / 0.879 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.6511, allocations: 31.98 kB / 0.879 GB, free: 1.242 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.0003954/0.6515, allocations: 249.7 kB / 0.8792 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.6517, allocations: 87.42 kB / 0.8793 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.654, allocations: 1.031 MB / 0.8803 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.654, allocations: 8 kB / 0.8803 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.654, allocations: 0 / 0.8803 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.654, allocations: 3.984 kB / 0.8803 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.6572, allocations: 1.88 MB / 0.8822 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6572, allocations: 4 kB / 0.8822 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.6578, allocations: 147.8 kB / 0.8823 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.6582, allocations: 76.72 kB / 0.8824 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.6583, allocations: 23.98 kB / 0.8824 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.6602, allocations: 1.555 MB / 0.8839 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6602, allocations: 3.938 kB / 0.8839 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.6621, allocations: 0.9399 MB / 0.8849 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.6625, allocations: 191.1 kB / 0.885 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6626, allocations: 20 kB / 0.8851 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.6631, allocations: 51.94 kB / 0.8851 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6633, allocations: 60.88 kB / 0.8852 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.6633, allocations: 31.98 kB / 0.8852 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006067/0.6639, allocations: 467 kB / 0.8856 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6639, allocations: 0 / 0.8856 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007991/0.6647, allocations: 299.2 kB / 0.8859 GB, free: 9.938 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.003985/0.6687, allocations: 1.978 MB / 0.8879 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.6703, allocations: 0.7354 MB / 0.8886 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6703, allocations: 0 / 0.8886 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008614/0.6711, allocations: 468.5 kB / 0.889 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.6723, allocations: 293.8 kB / 0.8893 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.6831, allocations: 6.144 MB / 0.8953 GB, free: 424 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000665/0.6837, allocations: 1.007 MB / 0.8963 GB, free: 15.38 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008022/0.6845, allocations: 266.4 kB / 0.8965 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/0.6851, allocations: 375.3 kB / 0.8969 GB, free: 14.75 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.6851, allocations: 0 / 0.8969 GB, free: 14.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06197/0.747, allocations: 21.31 MB / 0.9177 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.88, allocations: 2.062 kB / 0.9177 GB, free: 9.605 MB / 0.6856 GB " [Timeout remaining time 646] (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: 17.377176315989345] Failed to read output from testmodel.py, exit status != 0: 14.119751889025792 14.135921471 13.512116696 Calling exit ...