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.001705/0.001705, allocations: 84.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002174/0.002174, allocations: 157.7 kB / 22.76 MB, free: 1.68 MB / 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.465/1.465, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 1.155/1.155, allocations: 154.8 MB / 414.3 MB, free: 456 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 178] 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.743e-06/1.743e-06, allocations: 0.5469 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.838e-05, allocations: 5.812 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006974/0.007002, allocations: 4.4 MB / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.1922, allocations: 132.7 MB / 0.6537 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009418/0.1931, allocations: 27.81 kB / 0.6538 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.194, allocations: 194.2 kB / 0.6539 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.1964, allocations: 0.5747 MB / 0.6545 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.1991, allocations: 0.8529 MB / 0.6553 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.2018, allocations: 1.444 MB / 0.6568 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.2029, allocations: 393.8 kB / 0.6571 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.2049, allocations: 0.725 MB / 0.6578 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.2059, allocations: 406.8 kB / 0.6582 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004004/0.2063, allocations: 120 kB / 0.6583 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.2079, allocations: 491.4 kB / 0.6588 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.2082, allocations: 311 kB / 0.6591 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.2088, allocations: 383 kB / 0.6595 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.2112, allocations: 1.787 MB / 0.6612 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2112, allocations: 3.938 kB / 0.6612 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2112, allocations: 0 / 0.6612 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.2112, allocations: 0 / 0.6612 GB, free: 1.168 MB / 0.6198 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.002747/0.214, allocations: 1.402 MB / 0.6626 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.214, allocations: 12.03 kB / 0.6626 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.2158, allocations: 351.4 kB / 0.6629 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.2171, allocations: 0.7337 MB / 0.6636 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/0.2172, allocations: 64.06 kB / 0.6637 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.2173, allocations: 84 kB / 0.6638 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.2195, allocations: 1.181 MB / 0.6649 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.2195, allocations: 0 / 0.6649 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/0.2196, allocations: 32 kB / 0.665 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.2197, allocations: 23.94 kB / 0.665 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.2216, allocations: 1.073 MB / 0.666 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.2258, allocations: 2.124 MB / 0.6681 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.2275, allocations: 0.7614 MB / 0.6689 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/0.2281, allocations: 286.7 kB / 0.6691 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/0.2282, allocations: 24.64 kB / 0.6692 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.2293, allocations: 0.5879 MB / 0.6697 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 2.315e-06/0.2293, allocations: 3.938 kB / 0.6697 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.003561/0.2328, allocations: 1.144 MB / 0.6709 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.233, allocations: 196.5 kB / 0.671 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.2342, allocations: 0.6016 MB / 0.6716 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.2343, allocations: 41.7 kB / 0.6717 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.2347, allocations: 409 kB / 0.6721 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.235, allocations: 269.7 kB / 0.6723 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.2353, allocations: 154.6 kB / 0.6725 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.2355, allocations: 390.8 kB / 0.6728 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.2361, allocations: 261.9 kB / 0.6731 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/0.237, allocations: 495.6 kB / 0.6736 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.2382, allocations: 0.6073 MB / 0.6742 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2382, allocations: 3.938 kB / 0.6742 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002351/0.2406, allocations: 0.8765 MB / 0.675 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2406, allocations: 8 kB / 0.675 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2406, allocations: 0 / 0.675 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000985/0.2416, allocations: 128.8 kB / 0.6751 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.2423, allocations: 167.8 kB / 0.6753 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.2449, allocations: 1.51 MB / 0.6768 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/0.2457, allocations: 79.58 kB / 0.6769 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.2458, allocations: 39.97 kB / 0.6769 GB, free: 0.5977 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0005694/0.2464, allocations: 279.6 kB / 0.6772 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.2466, allocations: 107.5 kB / 0.6773 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2657/0.5123, allocations: 1.053 MB / 0.6783 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.5123, allocations: 13.59 kB / 0.6783 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5123, allocations: 3.188 kB / 0.6783 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.5124, allocations: 3.375 kB / 0.6783 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.5154, allocations: 1.698 MB / 0.68 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5154, allocations: 1.344 kB / 0.68 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.5159, allocations: 142.7 kB / 0.6801 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007111/0.5166, allocations: 122.2 kB / 0.6802 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.655e-05/0.5167, allocations: 24.83 kB / 0.6802 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.5182, allocations: 1.538 MB / 0.6817 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5182, allocations: 1.25 kB / 0.6817 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.5201, allocations: 1.028 MB / 0.6827 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.5204, allocations: 195.9 kB / 0.6829 GB, free: 198 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.5206, allocations: 23.91 kB / 0.683 GB, free: 198 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.5212, allocations: 65.02 kB / 0.683 GB, free: 198 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.5213, allocations: 72.06 kB / 0.6831 GB, free: 198 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.5214, allocations: 33.53 kB / 0.6831 GB, free: 198 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004348/0.5218, allocations: 440.4 kB / 0.6835 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5218, allocations: 0 / 0.6835 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008579/0.5227, allocations: 333.9 kB / 0.6839 GB, free: 197.7 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.002247/0.5249, allocations: 0.6471 MB / 0.6845 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.5263, allocations: 0.8002 MB / 0.6853 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5264, allocations: 3.797 kB / 0.6853 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007523/0.5271, allocations: 0.493 MB / 0.6858 GB, free: 197 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.5282, allocations: 318.6 kB / 0.6861 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.5307, allocations: 1.676 MB / 0.6877 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.531, allocations: 438.9 kB / 0.6881 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006346/0.5316, allocations: 256.1 kB / 0.6884 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.5319, allocations: 110.7 kB / 0.6885 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.5319, allocations: 1.25 kB / 0.6885 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.02298/0.5548, allocations: 15.29 MB / 0.7034 GB, free: 194.3 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.830283502000384]