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.001909/0.001909, allocations: 93.47 kB / 19.44 MB, free: 336 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.002051/0.002051, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 1.303/1.303, allocations: 154.6 MB / 414.1 MB, free: 0.6406 MB / 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. " [Timeout remaining time 178] 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.833e-06/1.833e-06, allocations: 0 / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.27e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003116/0.003148, allocations: 1.631 MB / 0.5212 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.004371, allocations: 0.5802 MB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.004425, allocations: 0 / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.004457, allocations: 3.938 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.004775, allocations: 45.55 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.004954, allocations: 43.83 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.005113, allocations: 119.5 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.005218, allocations: 8.969 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.005444, allocations: 71.86 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.005578, allocations: 44.84 kB / 0.5221 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.005617, allocations: 8 kB / 0.5221 GB, free: 15.97 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 5.909e-05/0.005676, allocations: 13 kB / 0.5221 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.005715, allocations: 23.91 kB / 0.5222 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.005779, allocations: 31.91 kB / 0.5222 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.005985, allocations: 112.6 kB / 0.5223 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.005994, allocations: 7.984 kB / 0.5223 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.674e-06/0.005996, allocations: 0 / 0.5223 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.006001, allocations: 0.7188 kB / 0.5223 GB, free: 15.79 MB / 0.4949 GB 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.0008344/0.006835, allocations: 429.7 kB / 0.5227 GB, free: 15.33 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.006872, allocations: 8.031 kB / 0.5227 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.007079, allocations: 21.5 kB / 0.5227 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.007245, allocations: 133.4 kB / 0.5229 GB, free: 15.15 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.007265, allocations: 8.375 kB / 0.5229 GB, free: 15.14 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.007285, allocations: 8.359 kB / 0.5229 GB, free: 15.14 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.00747, allocations: 86.16 kB / 0.523 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007479, allocations: 192 / 0.523 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.007496, allocations: 10 kB / 0.523 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.007512, allocations: 3.938 kB / 0.523 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.007643, allocations: 47.97 kB / 0.523 GB, free: 14.99 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.008241, allocations: 331.6 kB / 0.5233 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.008583, allocations: 120.5 kB / 0.5235 GB, free: 14.5 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.008676, allocations: 43.67 kB / 0.5235 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.008698, allocations: 4.531 kB / 0.5235 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.008907, allocations: 105 kB / 0.5236 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.008909, allocations: 0.75 kB / 0.5236 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of matching and sorting (n=11): time 0.0003949/0.009304, allocations: 155 kB / 0.5238 GB, free: 14.18 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.009354, allocations: 55.41 kB / 0.5238 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.009531, allocations: 189.9 kB / 0.524 GB, free: 13.91 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.009554, allocations: 25.7 kB / 0.524 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.009655, allocations: 152.8 kB / 0.5242 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.009697, allocations: 27.75 kB / 0.5242 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.009761, allocations: 35.36 kB / 0.5242 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002598/0.01002, allocations: 0.5 MB / 0.5247 GB, free: 13.14 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.01009, allocations: 27.98 kB / 0.5247 GB, free: 13.11 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.01015, allocations: 34.33 kB / 0.5248 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.01029, allocations: 71.62 kB / 0.5248 GB, free: 13 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01029, allocations: 0 / 0.5248 GB, free: 13 MB / 0.4949 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002773/0.01057, allocations: 116.8 kB / 0.5249 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.0106, allocations: 11.98 kB / 0.525 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.0106, allocations: 0 / 0.525 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01062, allocations: 2.75 kB / 0.525 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.01076, allocations: 19.98 kB / 0.525 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01076, allocations: 0 / 0.525 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.789e-05/0.01085, allocations: 8 kB / 0.525 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.01086, allocations: 0 / 0.525 GB, free: 12.85 MB / 0.4949 GB 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 0.0001624/0.01102, allocations: 172.5 kB / 0.5252 GB, free: 12.67 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.01106, allocations: 17.25 kB / 0.5252 GB, free: 12.65 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.01138, allocations: 150 kB / 0.5253 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01139, allocations: 0 / 0.5253 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01139, allocations: 0.9375 kB / 0.5253 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.01139, allocations: 0 / 0.5253 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.01159, allocations: 164.5 kB / 0.5255 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01159, allocations: 0.9375 kB / 0.5255 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.01168, allocations: 19.92 kB / 0.5255 GB, free: 12.28 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01168, allocations: 0.9062 kB / 0.5255 GB, free: 12.28 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.0117, allocations: 8 kB / 0.5255 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.0117, allocations: 0 / 0.5255 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0117, allocations: 1.938 kB / 0.5255 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.01201, allocations: 180.3 kB / 0.5257 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.01204, allocations: 11.94 kB / 0.5257 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.01206, allocations: 4 kB / 0.5257 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.01214, allocations: 4 kB / 0.5257 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.01221, allocations: 16.62 kB / 0.5257 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.01223, allocations: 4.656 kB / 0.5257 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001109/0.01234, allocations: 149.2 kB / 0.5259 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1e-07/0.01234, allocations: 0.6562 kB / 0.5259 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002048/0.01255, allocations: 24 kB / 0.5259 GB, free: 11.87 MB / 0.4949 GB 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 0.0001529/0.0127, allocations: 100.2 kB / 0.526 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.01294, allocations: 96.17 kB / 0.5261 GB, free: 11.67 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01294, allocations: 0 / 0.5261 GB, free: 11.67 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.01306, allocations: 59.59 kB / 0.5261 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.01325, allocations: 26.86 kB / 0.5261 GB, free: 11.58 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.01376, allocations: 206.2 kB / 0.5263 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.964e-05/0.01385, allocations: 86.44 kB / 0.5264 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 5.748e-05/0.0139, allocations: 12.48 kB / 0.5264 GB, free: 11.24 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.01396, allocations: 25.36 kB / 0.5265 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of SimCode: time 4.51e-07/0.01396, allocations: 0 / 0.5265 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of Templates: time 0.004495/0.01846, allocations: 1.093 MB / 0.5275 GB, free: 10.19 MB / 0.4949 GB " [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: 6.186818044981919]