Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001287/0.001287, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001293/0.001293, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.413/1.413, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8513/0.8513, allocations: 133.9 MB / 443.5 MB, free: 14.09 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.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001967/0.001967, allocations: 64.91 kB / 0.6141 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1486, allocations: 85.85 MB / 0.6979 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00656/0.1551, allocations: 4.129 MB / 0.7019 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.2034/0.3585, allocations: 153.8 MB / 0.8522 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009981/0.3595, allocations: 27.81 kB / 0.8522 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007881/0.3603, allocations: 162.5 kB / 0.8524 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.3625, allocations: 492.9 kB / 0.8528 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.365, allocations: 0.8114 MB / 0.8536 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3668, allocations: 1.188 MB / 0.8548 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009972/0.3678, allocations: 461.8 kB / 0.8552 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008239/0.3686, allocations: 462.3 kB / 0.8557 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007723/0.3694, allocations: 451.5 kB / 0.8561 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.3697, allocations: 111.9 kB / 0.8562 GB, free: 12.35 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.3709, allocations: 0.4957 MB / 0.8567 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/0.3713, allocations: 275.1 kB / 0.857 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.372, allocations: 0.5013 MB / 0.8574 GB, free: 11.08 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0027/0.3747, allocations: 1.543 MB / 0.859 GB, free: 9.535 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3747, allocations: 0 / 0.859 GB, free: 9.535 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3747, allocations: 0 / 0.859 GB, free: 9.535 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.232e-05/0.3748, allocations: 0 / 0.859 GB, free: 9.535 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003177/0.378, allocations: 1.367 MB / 0.8603 GB, free: 8.113 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.378, allocations: 13.7 kB / 0.8603 GB, free: 8.102 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.71e-05/0.3781, allocations: 22.19 kB / 0.8603 GB, free: 8.078 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/0.3783, allocations: 131 kB / 0.8604 GB, free: 7.941 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.3801, allocations: 232 kB / 0.8607 GB, free: 7.715 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.3816, allocations: 0.7464 MB / 0.8614 GB, free: 6.926 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.3816, allocations: 58 kB / 0.8615 GB, free: 6.867 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.3817, allocations: 76 kB / 0.8615 GB, free: 6.793 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.3835, allocations: 0.852 MB / 0.8624 GB, free: 5.902 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3835, allocations: 4 kB / 0.8624 GB, free: 5.898 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.3836, allocations: 32 kB / 0.8624 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.3836, allocations: 16 kB / 0.8624 GB, free: 5.852 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.3855, allocations: 1.061 MB / 0.8634 GB, free: 4.789 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.39, allocations: 2.383 MB / 0.8658 GB, free: 2.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.3916, allocations: 0.7544 MB / 0.8665 GB, free: 1.562 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.3921, allocations: 253.4 kB / 0.8667 GB, free: 1.309 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.447e-05/0.3922, allocations: 32.58 kB / 0.8668 GB, free: 1.277 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008484/0.3931, allocations: 422.8 kB / 0.8672 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 2.494e-06/0.3931, allocations: 0 / 0.8672 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.3551/0.7482, allocations: 1.067 MB / 0.8682 GB, free: 169.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.7482, allocations: 191.8 kB / 0.8684 GB, free: 169.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.7493, allocations: 0.6058 MB / 0.869 GB, free: 169.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.7494, allocations: 40.31 kB / 0.869 GB, free: 169.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.7496, allocations: 389.3 kB / 0.8694 GB, free: 169.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.7499, allocations: 242.9 kB / 0.8696 GB, free: 169.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.7501, allocations: 134.2 kB / 0.8698 GB, free: 169 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7502, allocations: 377.5 kB / 0.8701 GB, free: 168.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.7507, allocations: 215.3 kB / 0.8703 GB, free: 168.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.7512, allocations: 321.1 kB / 0.8706 GB, free: 168.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009871/0.7522, allocations: 0.525 MB / 0.8712 GB, free: 168.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.7522, allocations: 0 / 0.8712 GB, free: 168.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0019/0.7541, allocations: 0.7137 MB / 0.8719 GB, free: 167.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.7541, allocations: 7.219 kB / 0.8719 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7541, allocations: 1.312 kB / 0.8719 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.7548, allocations: 82.28 kB / 0.8719 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.7553, allocations: 134.2 kB / 0.8721 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.7573, allocations: 1.645 MB / 0.8737 GB, free: 166.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.7579, allocations: 76.17 kB / 0.8737 GB, free: 166.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.7579, allocations: 26.47 kB / 0.8738 GB, free: 166.4 MB / 0.67 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 (73): * Single equations (assignments): 72 * 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.0003601/0.7583, allocations: 252.2 kB / 0.874 GB, free: 166.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.7584, allocations: 88.31 kB / 0.8741 GB, free: 166.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.7607, allocations: 0.9623 MB / 0.875 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.7607, allocations: 9.094 kB / 0.875 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7607, allocations: 0.7031 kB / 0.875 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.7608, allocations: 3.797 kB / 0.875 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.7642, allocations: 1.853 MB / 0.8769 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.7642, allocations: 6.781 kB / 0.8769 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.7647, allocations: 144.5 kB / 0.877 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.7652, allocations: 72.27 kB / 0.8771 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.7652, allocations: 19.69 kB / 0.8771 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.7669, allocations: 1.67 MB / 0.8787 GB, free: 163.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7669, allocations: 0 / 0.8787 GB, free: 163.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.7689, allocations: 0.9037 MB / 0.8796 GB, free: 162.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.7693, allocations: 266.7 kB / 0.8799 GB, free: 162.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.7695, allocations: 17.22 kB / 0.8799 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.7701, allocations: 59.66 kB / 0.8799 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.7703, allocations: 59.84 kB / 0.88 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.7703, allocations: 27.58 kB / 0.88 GB, free: 162.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007535/0.7711, allocations: 445.6 kB / 0.8804 GB, free: 162.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7711, allocations: 0.5312 kB / 0.8804 GB, free: 162.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001125/0.7722, allocations: 282.6 kB / 0.8807 GB, free: 162.4 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 (81): * Single equations (assignments): 78 * 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.004323/0.7765, allocations: 1.957 MB / 0.8826 GB, free: 161.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.778, allocations: 0.6973 MB / 0.8833 GB, free: 161 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.778, allocations: 4.016 kB / 0.8833 GB, free: 161 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007877/0.7788, allocations: 460.8 kB / 0.8837 GB, free: 160.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.7801, allocations: 287.8 kB / 0.884 GB, free: 160.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0095/0.7896, allocations: 5.891 MB / 0.8898 GB, free: 156.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.79, allocations: 1.001 MB / 0.8907 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006425/0.7906, allocations: 254 kB / 0.891 GB, free: 155.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.791, allocations: 359.3 kB / 0.8913 GB, free: 154.9 MB / 0.67 GB Notification: Performance of SimCode: time 8.11e-07/0.791, allocations: 0 / 0.8913 GB, free: 154.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.8374, allocations: 20.07 MB / 0.9109 GB, free: 135.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.54, allocations: 11.58 kB / 0.9109 GB, free: 135.2 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.484089618024882] Failed to read output from testmodel.py, exit status != 0: 14.090469247021247 13.817798426 13.439424742 Calling exit ...