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.001828/0.001828, allocations: 84.52 kB / 19.77 MB, free: 1.875 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.002334/0.002334, allocations: 161 kB / 23.01 MB, free: 4.59 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.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.8763/0.8763, allocations: 101.3 MB / 361.1 MB, free: 8.773 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [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.002116/0.002116, allocations: 72.17 kB / 0.5356 GB, free: 12.71 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1789, allocations: 85.88 MB / 0.6195 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006533/0.1854, allocations: 3.773 MB / 0.6231 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5531/0.7386, allocations: 132.5 MB / 0.7526 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008152/0.7394, allocations: 23.81 kB / 0.7526 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.7402, allocations: 169.5 kB / 0.7528 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.7422, allocations: 0.4891 MB / 0.7532 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.745, allocations: 0.8246 MB / 0.754 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.7472, allocations: 1.195 MB / 0.7552 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.7487, allocations: 422 kB / 0.7556 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009762/0.7496, allocations: 462.4 kB / 0.7561 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007766/0.7504, allocations: 398 kB / 0.7564 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.7507, allocations: 107.9 kB / 0.7565 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.7522, allocations: 489.1 kB / 0.757 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.7527, allocations: 271.1 kB / 0.7573 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006887/0.7534, allocations: 409.7 kB / 0.7577 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.7559, allocations: 1.544 MB / 0.7592 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7559, allocations: 0 / 0.7592 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.756, allocations: 0 / 0.7592 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.756, allocations: 7.938 kB / 0.7592 GB, free: 4.652 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002662/0.7586, allocations: 1.288 MB / 0.7604 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7587, allocations: 16.03 kB / 0.7604 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.7604, allocations: 228.1 kB / 0.7607 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.7616, allocations: 0.6788 MB / 0.7613 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.7617, allocations: 58 kB / 0.7614 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.7618, allocations: 76 kB / 0.7615 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.7634, allocations: 1.107 MB / 0.7625 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.7635, allocations: 4 kB / 0.7625 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.7635, allocations: 35.94 kB / 0.7626 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.7636, allocations: 16 kB / 0.7626 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.7653, allocations: 1.026 MB / 0.7636 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.769, allocations: 1.988 MB / 0.7655 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.7703, allocations: 0.6764 MB / 0.7662 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.7708, allocations: 246.7 kB / 0.7664 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.7709, allocations: 24.62 kB / 0.7664 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008373/0.7717, allocations: 0.5219 MB / 0.767 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.254e-06/0.7717, allocations: 3.938 kB / 0.767 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.003087/0.7748, allocations: 0.9901 MB / 0.7679 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.775, allocations: 188.6 kB / 0.7681 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.7757, allocations: 0.5499 MB / 0.7686 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.7757, allocations: 37.7 kB / 0.7687 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.7761, allocations: 392.8 kB / 0.7691 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.7763, allocations: 242 kB / 0.7693 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.7766, allocations: 146.5 kB / 0.7694 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002664/0.7768, allocations: 374.8 kB / 0.7698 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.7774, allocations: 237.9 kB / 0.77 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.7781, allocations: 451.3 kB / 0.7704 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.7791, allocations: 0.5472 MB / 0.771 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7791, allocations: 0 / 0.771 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001931/0.7811, allocations: 0.764 MB / 0.7717 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.7811, allocations: 17.78 kB / 0.7717 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7811, allocations: 0 / 0.7717 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.7817, allocations: 84.7 kB / 0.7718 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.7823, allocations: 147.8 kB / 0.772 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.7846, allocations: 1.507 MB / 0.7734 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.7852, allocations: 73.17 kB / 0.7735 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.7853, allocations: 27.98 kB / 0.7735 GB, free: 5.438 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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.0004291/0.7857, allocations: 257.1 kB / 0.7738 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.7858, allocations: 79.78 kB / 0.7738 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.7881, allocations: 0.9656 MB / 0.7748 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.7881, allocations: 8 kB / 0.7748 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7882, allocations: 4 kB / 0.7748 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.7882, allocations: 4.047 kB / 0.7748 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.7914, allocations: 1.602 MB / 0.7764 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7914, allocations: 0 / 0.7764 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.792, allocations: 139.8 kB / 0.7765 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.7924, allocations: 68.78 kB / 0.7766 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.7925, allocations: 27.98 kB / 0.7766 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.7946, allocations: 1.54 MB / 0.7781 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7946, allocations: 0 / 0.7781 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.7965, allocations: 0.8996 MB / 0.779 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.797, allocations: 175.2 kB / 0.7791 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.797, allocations: 16 kB / 0.7792 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.7976, allocations: 51.94 kB / 0.7792 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.7977, allocations: 64.83 kB / 0.7793 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.7978, allocations: 27.98 kB / 0.7793 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005219/0.7983, allocations: 394.8 kB / 0.7797 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7983, allocations: 4 kB / 0.7797 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008257/0.7991, allocations: 303.1 kB / 0.78 GB, free: 14.66 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 (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.00202/0.8011, allocations: 0.6275 MB / 0.7806 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.8027, allocations: 0.7239 MB / 0.7813 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8027, allocations: 4 kB / 0.7813 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.8036, allocations: 452.3 kB / 0.7817 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.8048, allocations: 282.3 kB / 0.782 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.8085, allocations: 1.668 MB / 0.7836 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.809, allocations: 418.8 kB / 0.784 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007029/0.8097, allocations: 245.8 kB / 0.7843 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.8099, allocations: 96.45 kB / 0.7843 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/0.8099, allocations: 0 / 0.7843 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.02623/0.8362, allocations: 13.96 MB / 0.798 GB, free: 12.63 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.802473559975624] Failed to read output from testmodel.py, exit status != 0: 0.8452576840063557 0.859316134 0.10024598500000001 Calling exit ...