Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001309/0.001309, 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.001513/0.001513, allocations: 169 kB / 23.27 MB, free: 1.219 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.9288/0.9288, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7577/0.7577, 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.79e-05, allocations: 4.141 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006429/0.006457, allocations: 4.907 MB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.122/0.1284, allocations: 143.9 MB / 0.6664 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007514/0.1292, allocations: 27.81 kB / 0.6664 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.1297, allocations: 202.1 kB / 0.6666 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.131, allocations: 0.6134 MB / 0.6672 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1325, allocations: 0.8647 MB / 0.6681 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.1336, allocations: 1.498 MB / 0.6695 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.1341, allocations: 448.5 kB / 0.67 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007361/0.1349, allocations: 0.8147 MB / 0.6708 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.1352, allocations: 402.8 kB / 0.6711 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.1353, allocations: 123.9 kB / 0.6713 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008023/0.1362, allocations: 495.4 kB / 0.6717 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1363, allocations: 307 kB / 0.672 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.1366, allocations: 406.9 kB / 0.6724 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1377, allocations: 1.292 MB / 0.6737 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1377, allocations: 0 / 0.6737 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/0.1377, allocations: 0 / 0.6737 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1377, allocations: 0 / 0.6737 GB, free: 4.914 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001559/0.1393, allocations: 1.573 MB / 0.6752 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1393, allocations: 8.031 kB / 0.6752 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009416/0.1403, allocations: 379.4 kB / 0.6756 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.1409, allocations: 0.7305 MB / 0.6763 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.141, allocations: 70.12 kB / 0.6764 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.1411, allocations: 99.94 kB / 0.6765 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007892/0.1419, allocations: 0.9323 MB / 0.6774 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1419, allocations: 3.938 kB / 0.6774 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.1419, allocations: 40 kB / 0.6774 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.1419, allocations: 28 kB / 0.6774 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.1426, allocations: 0.7001 MB / 0.6781 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2922/0.4348, allocations: 2.078 MB / 0.6801 GB, free: 58.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/0.4356, allocations: 488.5 kB / 0.6806 GB, free: 58.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.4358, allocations: 148.4 kB / 0.6808 GB, free: 58.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-05/0.4358, allocations: 52.16 kB / 0.6808 GB, free: 58.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.4362, allocations: 459.7 kB / 0.6812 GB, free: 58.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.915e-06/0.4362, allocations: 1.344 kB / 0.6812 GB, free: 58.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001266/0.4375, allocations: 0.7371 MB / 0.682 GB, free: 58.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4375, allocations: 192.3 kB / 0.6821 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.4379, allocations: 0.5498 MB / 0.6827 GB, free: 57.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.4379, allocations: 41.39 kB / 0.6827 GB, free: 57.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.4381, allocations: 494.1 kB / 0.6832 GB, free: 57.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.4382, allocations: 281.9 kB / 0.6835 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.4384, allocations: 178.6 kB / 0.6836 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.4385, allocations: 0.56 MB / 0.6842 GB, free: 56.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.4386, allocations: 103.6 kB / 0.6843 GB, free: 56.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.4388, allocations: 340.5 kB / 0.6846 GB, free: 56.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.4392, allocations: 322.7 kB / 0.6849 GB, free: 56.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4392, allocations: 3.188 kB / 0.6849 GB, free: 56.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007473/0.4399, allocations: 0.5837 MB / 0.6855 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4399, allocations: 9 kB / 0.6855 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4399, allocations: 6.5 kB / 0.6855 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/0.4403, allocations: 129 kB / 0.6856 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.4406, allocations: 163.1 kB / 0.6858 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.4417, allocations: 1.874 MB / 0.6876 GB, free: 54.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.442, allocations: 73.98 kB / 0.6877 GB, free: 54.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.442, allocations: 34.27 kB / 0.6877 GB, free: 54.55 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 (96): * Single equations (assignments): 95 * 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.0001863/0.4422, allocations: 211.9 kB / 0.6879 GB, free: 54.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4423, allocations: 108.8 kB / 0.688 GB, free: 54.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/0.4432, allocations: 0.7827 MB / 0.6888 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4432, allocations: 11.09 kB / 0.6888 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4432, allocations: 1.094 kB / 0.6888 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4432, allocations: 6.422 kB / 0.6888 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.4446, allocations: 1.288 MB / 0.6901 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4446, allocations: 0.9375 kB / 0.6901 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.4448, allocations: 150.3 kB / 0.6902 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.4451, allocations: 112.4 kB / 0.6903 GB, free: 53.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.4452, allocations: 27.72 kB / 0.6903 GB, free: 53.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000794/0.446, allocations: 1.892 MB / 0.6922 GB, free: 52.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.446, allocations: 0 / 0.6922 GB, free: 52.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.4467, allocations: 0.8005 MB / 0.693 GB, free: 51.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.4469, allocations: 184.2 kB / 0.6931 GB, free: 51.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.447, allocations: 20.94 kB / 0.6932 GB, free: 51.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.4472, allocations: 46.52 kB / 0.6932 GB, free: 51.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.4473, allocations: 69.47 kB / 0.6933 GB, free: 51.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.4473, allocations: 29.77 kB / 0.6933 GB, free: 51.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001856/0.4475, allocations: 362.7 kB / 0.6936 GB, free: 51.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4475, allocations: 0.875 kB / 0.6936 GB, free: 51.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006495/0.4482, allocations: 352.9 kB / 0.694 GB, free: 51.69 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 (94): * Single equations (assignments): 88 * 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.001123/0.4493, allocations: 0.6189 MB / 0.6946 GB, free: 51.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.4499, allocations: 0.5991 MB / 0.6952 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4499, allocations: 3.875 kB / 0.6952 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.4503, allocations: 450.9 kB / 0.6956 GB, free: 51.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.4509, allocations: 326.1 kB / 0.6959 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.4529, allocations: 1.575 MB / 0.6975 GB, free: 50.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.453, allocations: 200 kB / 0.6976 GB, free: 50.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004184/0.4535, allocations: 198.6 kB / 0.6978 GB, free: 50.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.4539, allocations: 363.8 kB / 0.6982 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.4539, allocations: 0.875 kB / 0.6982 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.02257/0.4765, allocations: 16.62 MB / 0.7144 GB, free: 48.72 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.598595995921642]