Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009238/0.0009238, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.001016/0.001016, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 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.045/1.045, allocations: 177.2 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7771/0.7771, allocations: 154.9 MB / 415.9 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.5218 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.233e-05, allocations: 4.875 kB / 0.5219 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004884/0.004906, allocations: 4.596 MB / 0.5263 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1321/0.137, allocations: 143.8 MB / 0.6668 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008178/0.1378, allocations: 23.81 kB / 0.6668 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.1383, allocations: 202.1 kB / 0.667 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.1398, allocations: 0.5824 MB / 0.6676 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.1413, allocations: 0.8647 MB / 0.6684 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1424, allocations: 1.428 MB / 0.6698 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006799/0.1431, allocations: 397.7 kB / 0.6702 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000784/0.1439, allocations: 0.7562 MB / 0.671 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.1442, allocations: 370.9 kB / 0.6713 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1443, allocations: 108 kB / 0.6714 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.1451, allocations: 491.3 kB / 0.6719 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1453, allocations: 291 kB / 0.6722 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.1455, allocations: 367 kB / 0.6725 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.1468, allocations: 1.23 MB / 0.6737 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1468, allocations: 0 / 0.6737 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1468, allocations: 0 / 0.6737 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.1468, allocations: 4 kB / 0.6737 GB, free: 5.672 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001519/0.1483, allocations: 1.499 MB / 0.6752 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1483, allocations: 8.031 kB / 0.6752 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.1493, allocations: 343.5 kB / 0.6755 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.15, allocations: 0.7032 MB / 0.6762 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.15, allocations: 66.12 kB / 0.6763 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.1501, allocations: 88 kB / 0.6763 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/0.151, allocations: 0.8734 MB / 0.6772 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.151, allocations: 0 / 0.6772 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.1511, allocations: 32 kB / 0.6772 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1511, allocations: 20 kB / 0.6772 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.1517, allocations: 0.6767 MB / 0.6779 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2798/0.4315, allocations: 2.064 MB / 0.6799 GB, free: 57.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.4322, allocations: 433.8 kB / 0.6803 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.4323, allocations: 139.2 kB / 0.6805 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.4323, allocations: 31.33 kB / 0.6805 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.4327, allocations: 452.5 kB / 0.6809 GB, free: 57.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 3.346e-06/0.4327, allocations: 1.469 kB / 0.6809 GB, free: 57.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.001288/0.434, allocations: 0.7074 MB / 0.6816 GB, free: 57.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.434, allocations: 198 kB / 0.6818 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.4344, allocations: 0.5482 MB / 0.6823 GB, free: 57.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.4345, allocations: 44.83 kB / 0.6824 GB, free: 57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.4347, allocations: 453.8 kB / 0.6828 GB, free: 56.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.4348, allocations: 271.4 kB / 0.6831 GB, free: 56.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.435, allocations: 176.3 kB / 0.6832 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4351, allocations: 0.5672 MB / 0.6838 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4352, allocations: 95.48 kB / 0.6839 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.4354, allocations: 331.1 kB / 0.6842 GB, free: 55.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.4357, allocations: 312.4 kB / 0.6845 GB, free: 55.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4358, allocations: 0.7812 kB / 0.6845 GB, free: 55.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007633/0.4365, allocations: 0.5569 MB / 0.6851 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4365, allocations: 7.312 kB / 0.6851 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4365, allocations: 5.781 kB / 0.6851 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.437, allocations: 126.3 kB / 0.6852 GB, free: 55.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.4373, allocations: 159.1 kB / 0.6853 GB, free: 55.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.4383, allocations: 1.875 MB / 0.6872 GB, free: 54.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.4386, allocations: 70.34 kB / 0.6872 GB, free: 54.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.4387, allocations: 28.19 kB / 0.6873 GB, free: 54.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0001834/0.4388, allocations: 217 kB / 0.6875 GB, free: 53.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.439, allocations: 107.1 kB / 0.6876 GB, free: 53.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.4399, allocations: 0.7454 MB / 0.6883 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4399, allocations: 12.62 kB / 0.6883 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.4399, allocations: 0.5312 kB / 0.6883 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4399, allocations: 10.48 kB / 0.6883 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.4412, allocations: 1.264 MB / 0.6896 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4412, allocations: 1 kB / 0.6896 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.4415, allocations: 143.1 kB / 0.6897 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003396/0.4418, allocations: 112.6 kB / 0.6898 GB, free: 53.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.4418, allocations: 26.28 kB / 0.6898 GB, free: 53.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008392/0.4427, allocations: 1.892 MB / 0.6917 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4427, allocations: 6.969 kB / 0.6917 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.4436, allocations: 0.7772 MB / 0.6924 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.4438, allocations: 187.3 kB / 0.6926 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.4439, allocations: 21.62 kB / 0.6926 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.4441, allocations: 36.34 kB / 0.6927 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.4442, allocations: 78.52 kB / 0.6927 GB, free: 51.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.4442, allocations: 27.81 kB / 0.6928 GB, free: 51.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001984/0.4444, allocations: 358.8 kB / 0.6931 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4444, allocations: 0.9844 kB / 0.6931 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006419/0.4451, allocations: 330.7 kB / 0.6934 GB, free: 51.19 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001264/0.4463, allocations: 0.6176 MB / 0.694 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000634/0.447, allocations: 0.5771 MB / 0.6946 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.447, allocations: 0.875 kB / 0.6946 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.4473, allocations: 439.8 kB / 0.695 GB, free: 50.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.448, allocations: 316.5 kB / 0.6953 GB, free: 50.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.45, allocations: 1.478 MB / 0.6968 GB, free: 49.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.4501, allocations: 191.8 kB / 0.6969 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004156/0.4505, allocations: 187.1 kB / 0.6971 GB, free: 49.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.451, allocations: 354.1 kB / 0.6975 GB, free: 49.8 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.451, allocations: 0.7188 kB / 0.6975 GB, free: 49.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.0212/0.4722, allocations: 16.63 MB / 0.7137 GB, free: 48.25 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.747756840195507]