Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009898/0.0009898, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009904/0.0009904, allocations: 173 kB / 23.03 MB, free: 1.547 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.05/1.05, allocations: 177.2 MB / 203.4 MB, free: 5.629 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.8073/0.8073, allocations: 154.9 MB / 414.8 MB, free: 396 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.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5207 GB, free: 1.789 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.153e-05, allocations: 8.719 kB / 0.5207 GB, free: 1.781 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003257/0.003288, allocations: 1.659 MB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.004388, allocations: 0.5759 MB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.004449, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.277e-05/0.004492, allocations: 11.88 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.004802, allocations: 45.44 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.005027, allocations: 45.19 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.005198, allocations: 111.6 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005325, allocations: 19.97 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.00557, allocations: 76.31 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.005689, allocations: 36.59 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.005716, allocations: 8 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.005782, allocations: 21.19 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.005815, allocations: 19.97 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.005875, allocations: 31.91 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.006077, allocations: 84.59 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.006081, allocations: 3.938 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.006083, allocations: 0 / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.006088, allocations: 1.125 kB / 0.5234 GB, free: 15.05 MB / 0.4948 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.0007275/0.006816, allocations: 425 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.006861, allocations: 12.69 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.007068, allocations: 25.58 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.007232, allocations: 128.5 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.007264, allocations: 5.312 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.007285, allocations: 8.375 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.00749, allocations: 89.53 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.007505, allocations: 4.125 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.007523, allocations: 384 / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.007539, allocations: 7.938 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.967e-05/0.007638, allocations: 31.97 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.008217, allocations: 311.6 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.008501, allocations: 96.39 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.008566, allocations: 31.67 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.008581, allocations: 4 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.008757, allocations: 97.5 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 5.03e-06/0.008762, allocations: 5.016 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0003223/0.009085, allocations: 132.7 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.009125, allocations: 51.41 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.009252, allocations: 179.2 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.009275, allocations: 25.7 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.009346, allocations: 147 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.009391, allocations: 36.44 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.009443, allocations: 27.38 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.009596, allocations: 0.4932 MB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.009647, allocations: 19.98 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.00969, allocations: 21.73 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.009951, allocations: 51.61 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009954, allocations: 0 / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001793/0.01013, allocations: 104.5 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01015, allocations: 6.812 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01016, allocations: 5.031 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.01017, allocations: 4 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.01027, allocations: 23.92 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01028, allocations: 1 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.01034, allocations: 4 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01035, allocations: 10.73 kB / 0.5259 GB, free: 12.28 MB / 0.4948 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.0001027/0.01046, allocations: 164.5 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.01048, allocations: 7.953 kB / 0.5261 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.01074, allocations: 134 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.01075, allocations: 4 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01075, allocations: 0 / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01076, allocations: 6.641 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.0109, allocations: 152.5 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.0109, allocations: 3.984 kB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.01097, allocations: 12 kB / 0.5264 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01097, allocations: 0 / 0.5264 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.01099, allocations: 4 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.01099, allocations: 4 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01099, allocations: 1.219 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.01123, allocations: 164.2 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.01125, allocations: 7.953 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.01128, allocations: 0 / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.01134, allocations: 12.64 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.01139, allocations: 11.42 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.01141, allocations: 4 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.01147, allocations: 139.2 kB / 0.5267 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01147, allocations: 0 / 0.5267 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002524/0.01173, allocations: 31.94 kB / 0.5267 GB, free: 11.37 MB / 0.4948 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.0001191/0.01185, allocations: 99.25 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.01203, allocations: 70.34 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01204, allocations: 0 / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.01212, allocations: 54.16 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.01232, allocations: 22.77 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.01325, allocations: 226.2 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.01329, allocations: 64.09 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.766e-05/0.01335, allocations: 10.53 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.01341, allocations: 16.48 kB / 0.5273 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01341, allocations: 2.312 kB / 0.5273 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.004191/0.0176, allocations: 1.13 MB / 0.5284 GB, free: 9.691 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.889465823303908]