Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.0008015/0.0008015, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002045, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007318/0.0007318, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001747, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.971/0.971, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08583/1.057, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7951/0.7951, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 NFInstanceAPI.mkTop(): time 0.2727/1.068, allocations: 49.04 MB / 447.8 MB, free: 6.598 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.938e-05, allocations: 2.312 kB / 449.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002362/0.002381, allocations: 1.71 MB / 450.9 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000705/0.003086, allocations: 0.593 MB / 451.5 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.00313, allocations: 0 / 451.5 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.003156, allocations: 11.86 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.003306, allocations: 42.5 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.003431, allocations: 48.47 kB / 451.6 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.00355, allocations: 109.4 kB / 451.7 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.003637, allocations: 19.92 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.003799, allocations: 80.67 kB / 451.8 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.003896, allocations: 47.88 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.003915, allocations: 9.281 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.003988, allocations: 12 kB / 451.9 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.004014, allocations: 15.94 kB / 451.9 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.004049, allocations: 24.62 kB / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.004193, allocations: 71.7 kB / 452 MB, free: 2.531 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.004206, allocations: 1.062 kB / 452 MB, free: 2.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004207, allocations: 0 / 452 MB, free: 2.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.004222, allocations: 0 / 452 MB, free: 2.531 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000586/0.004808, allocations: 319.9 kB / 452.3 MB, free: 2.199 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.004848, allocations: 13.69 kB / 452.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.005059, allocations: 102 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.005185, allocations: 121.6 kB / 452.5 MB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.005205, allocations: 8.375 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.005224, allocations: 5.875 kB / 452.5 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.005356, allocations: 85.94 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005364, allocations: 192 / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.005373, allocations: 384 / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.005381, allocations: 8.625 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.005426, allocations: 19.98 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.005789, allocations: 201.2 kB / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.005992, allocations: 78.14 kB / 452.9 MB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.006033, allocations: 28.16 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.006049, allocations: 7.938 kB / 452.9 MB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.006187, allocations: 89.8 kB / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.006189, allocations: 0 / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001475/0.006337, allocations: 81.67 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.006365, allocations: 51.41 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.006436, allocations: 126.7 kB / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.006454, allocations: 25.7 kB / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.006508, allocations: 92.31 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.006541, allocations: 36.72 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.006578, allocations: 33.69 kB / 453.5 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.006651, allocations: 324 kB / 453.8 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.006671, allocations: 11.94 kB / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.00669, allocations: 11.98 kB / 453.8 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.00674, allocations: 40.33 kB / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006742, allocations: 0 / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.241e-05/0.006824, allocations: 78.11 kB / 453.9 MB, free: 424 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.006837, allocations: 4 kB / 453.9 MB, free: 420 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.006842, allocations: 0.6875 kB / 453.9 MB, free: 420 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.006853, allocations: 0 / 453.9 MB, free: 420 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.006933, allocations: 32.53 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006937, allocations: 4.562 kB / 454 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.006977, allocations: 3.938 kB / 454 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.006984, allocations: 8.625 kB / 454 MB, free: 372 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.91e-05/0.007054, allocations: 121.5 kB / 454.1 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.007067, allocations: 8.875 kB / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.007192, allocations: 96.12 kB / 454.2 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.007196, allocations: 5.719 kB / 454.2 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.007197, allocations: 0 / 454.2 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.0072, allocations: 0 / 454.2 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.696e-05/0.007287, allocations: 97.81 kB / 454.3 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007289, allocations: 0 / 454.3 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.007349, allocations: 20.95 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.007364, allocations: 15.83 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007365, allocations: 1 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.007371, allocations: 3.938 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.007374, allocations: 4 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007375, allocations: 1.312 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/0.007473, allocations: 113 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.007491, allocations: 3.938 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.007533, allocations: 8.656 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.007566, allocations: 11.97 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.007577, allocations: 5.219 kB / 454.5 MB, free: 15.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.209e-05/0.007599, allocations: 20.78 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007599, allocations: 0 / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001134/0.007712, allocations: 25.06 kB / 454.5 MB, free: 15.77 MB / 442.7 MB 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,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.609e-05/0.007808, allocations: 90.95 kB / 454.6 MB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.57e-05/0.007904, allocations: 59.77 kB / 454.7 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.007911, allocations: 0 / 454.7 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.007963, allocations: 49.48 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.985e-05/0.008053, allocations: 28.77 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.009419, allocations: 224.1 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.538e-05/0.009455, allocations: 67.2 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.969e-05/0.009504, allocations: 13.73 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.009566, allocations: 59.97 kB / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.009567, allocations: 0 / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of Templates: time 0.002729/0.0123, allocations: 1.135 MB / 456.2 MB, free: 14.09 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5137118361890316]