Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.001041/0.001041, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001184/0.001184, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9103/0.9103, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.7672/0.7672, allocations: 154.9 MB / 415.1 MB, free: 260 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.297e-05, allocations: 3.031 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004751/0.004774, allocations: 4.696 MB / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1234/0.1282, allocations: 143.9 MB / 0.6662 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007699/0.1289, allocations: 23.81 kB / 0.6662 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.1295, allocations: 206.1 kB / 0.6664 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.1308, allocations: 0.5978 MB / 0.667 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1323, allocations: 0.8725 MB / 0.6679 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.1334, allocations: 1.479 MB / 0.6693 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005247/0.1339, allocations: 393.9 kB / 0.6697 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007837/0.1347, allocations: 0.7873 MB / 0.6704 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.1351, allocations: 390.8 kB / 0.6708 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1352, allocations: 112 kB / 0.6709 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007427/0.1359, allocations: 491.3 kB / 0.6714 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1361, allocations: 295 kB / 0.6717 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.1365, allocations: 379 kB / 0.672 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1376, allocations: 1.261 MB / 0.6733 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1376, allocations: 0 / 0.6733 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1376, allocations: 0 / 0.6733 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.1376, allocations: 0 / 0.6733 GB, free: 5.34 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.001418/0.139, allocations: 1.532 MB / 0.6748 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1391, allocations: 16.03 kB / 0.6748 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000865/0.1399, allocations: 347.5 kB / 0.6751 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.1406, allocations: 0.7188 MB / 0.6758 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.1406, allocations: 66.12 kB / 0.6759 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.1407, allocations: 84 kB / 0.676 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007352/0.1414, allocations: 0.889 MB / 0.6768 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1415, allocations: 4 kB / 0.6768 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.1415, allocations: 36 kB / 0.6769 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.1415, allocations: 20 kB / 0.6769 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.1421, allocations: 0.6884 MB / 0.6776 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2771/0.4192, allocations: 2.074 MB / 0.6796 GB, free: 58.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.4198, allocations: 448.2 kB / 0.68 GB, free: 58.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.42, allocations: 155.8 kB / 0.6802 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.382e-05/0.42, allocations: 61.22 kB / 0.6802 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/0.4204, allocations: 481.6 kB / 0.6807 GB, free: 57.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 3.106e-06/0.4204, allocations: 0 / 0.6807 GB, free: 57.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.001388/0.4218, allocations: 0.7603 MB / 0.6814 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4219, allocations: 191.8 kB / 0.6816 GB, free: 57.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.4222, allocations: 0.564 MB / 0.6821 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.4223, allocations: 41.45 kB / 0.6822 GB, free: 57.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.4225, allocations: 473.4 kB / 0.6826 GB, free: 57.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4226, allocations: 284.5 kB / 0.6829 GB, free: 56.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.4228, allocations: 183.7 kB / 0.6831 GB, free: 56.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.4229, allocations: 0.5681 MB / 0.6836 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.423, allocations: 107.6 kB / 0.6837 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.4232, allocations: 346.1 kB / 0.6841 GB, free: 56.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.4236, allocations: 333.5 kB / 0.6844 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4236, allocations: 1.875 kB / 0.6844 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.000788/0.4244, allocations: 0.5867 MB / 0.685 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4244, allocations: 5.469 kB / 0.685 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4244, allocations: 3.938 kB / 0.685 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.4248, allocations: 132.2 kB / 0.6851 GB, free: 56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.4251, allocations: 168.1 kB / 0.6853 GB, free: 56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.4262, allocations: 1.869 MB / 0.6871 GB, free: 54.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.4265, allocations: 80.44 kB / 0.6872 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.4266, allocations: 31.41 kB / 0.6872 GB, free: 54.25 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0001886/0.4267, allocations: 210.5 kB / 0.6874 GB, free: 54.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.4269, allocations: 117.5 kB / 0.6875 GB, free: 54.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009693/0.4278, allocations: 0.8195 MB / 0.6883 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4278, allocations: 8.719 kB / 0.6883 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4278, allocations: 2.625 kB / 0.6883 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4278, allocations: 3.047 kB / 0.6883 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.4292, allocations: 1.31 MB / 0.6896 GB, free: 53.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4292, allocations: 1 kB / 0.6896 GB, free: 53.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.4295, allocations: 152.8 kB / 0.6897 GB, free: 53.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/0.4298, allocations: 115.3 kB / 0.6899 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.4299, allocations: 34 kB / 0.6899 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008128/0.4307, allocations: 1.887 MB / 0.6917 GB, free: 51.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4307, allocations: 0 / 0.6917 GB, free: 51.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.4315, allocations: 0.8317 MB / 0.6925 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.4317, allocations: 191.1 kB / 0.6927 GB, free: 51.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.4318, allocations: 27.28 kB / 0.6928 GB, free: 51.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.432, allocations: 36.94 kB / 0.6928 GB, free: 51.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/0.4321, allocations: 88.89 kB / 0.6929 GB, free: 51.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.4321, allocations: 30.89 kB / 0.6929 GB, free: 51.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001917/0.4323, allocations: 370.9 kB / 0.6933 GB, free: 51.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4323, allocations: 0 / 0.6933 GB, free: 51.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006696/0.433, allocations: 342.8 kB / 0.6936 GB, free: 51.4 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00115/0.4341, allocations: 0.6133 MB / 0.6942 GB, free: 51.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.4348, allocations: 0.6058 MB / 0.6948 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4348, allocations: 2.875 kB / 0.6948 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.4352, allocations: 458.6 kB / 0.6952 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.4359, allocations: 322.3 kB / 0.6955 GB, free: 50.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.4381, allocations: 1.546 MB / 0.697 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.4382, allocations: 196.3 kB / 0.6972 GB, free: 50.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004488/0.4386, allocations: 191 kB / 0.6974 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.4392, allocations: 369.2 kB / 0.6978 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of SimCode: time 1.372e-06/0.4392, allocations: 0 / 0.6978 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.02266/0.4618, allocations: 16.9 MB / 0.7143 GB, free: 48.48 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.458880973979831]