Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001004/0.001004, allocations: 92.22 kB / 19.65 MB, free: 276 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.001839/0.001839, allocations: 173 kB / 23.02 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.034/1.034, allocations: 177.1 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.8311/0.8311, allocations: 154.9 MB / 414.8 MB, free: 392 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.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5207 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.894e-05, allocations: 2.312 kB / 0.5207 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002205/0.002224, allocations: 1.738 MB / 0.5224 GB, free: 15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.003688, allocations: 1.411 MB / 0.5238 GB, free: 13.58 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.003777, allocations: 4.719 kB / 0.5238 GB, free: 13.58 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.004066, allocations: 31.7 kB / 0.5238 GB, free: 13.55 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.004496, allocations: 126.2 kB / 0.5239 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.005099, allocations: 139.5 kB / 0.5241 GB, free: 13.29 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.00537, allocations: 253.5 kB / 0.5243 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005484, allocations: 17.58 kB / 0.5243 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02401/0.0295, allocations: 9.44 MB / 0.5335 GB, free: 6.113 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.02961, allocations: 75.83 kB / 0.5336 GB, free: 6.039 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.02964, allocations: 18.47 kB / 0.5336 GB, free: 6.023 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.02976, allocations: 55.92 kB / 0.5337 GB, free: 5.969 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.02983, allocations: 87.73 kB / 0.5338 GB, free: 5.883 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.0299, allocations: 67.81 kB / 0.5338 GB, free: 5.816 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.0302, allocations: 239 kB / 0.5341 GB, free: 5.582 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.03021, allocations: 0 / 0.5341 GB, free: 5.582 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03021, allocations: 0 / 0.5341 GB, free: 5.582 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.03021, allocations: 2.438 kB / 0.5341 GB, free: 5.582 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005898/0.0308, allocations: 0.5742 MB / 0.5346 GB, free: 4.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.03084, allocations: 8.031 kB / 0.5346 GB, free: 4.965 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.03091, allocations: 40.75 kB / 0.5347 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.03114, allocations: 258.2 kB / 0.5349 GB, free: 4.645 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.03116, allocations: 8.375 kB / 0.5349 GB, free: 4.637 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.03118, allocations: 17.69 kB / 0.5349 GB, free: 4.621 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.03144, allocations: 266.8 kB / 0.5352 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.03145, allocations: 192 / 0.5352 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.03147, allocations: 10.12 kB / 0.5352 GB, free: 4.312 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.03147, allocations: 4 kB / 0.5352 GB, free: 4.309 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.03194, allocations: 0.624 MB / 0.5358 GB, free: 3.684 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.03251, allocations: 499.3 kB / 0.5363 GB, free: 3.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.03271, allocations: 157.1 kB / 0.5364 GB, free: 2.996 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.03279, allocations: 55.66 kB / 0.5365 GB, free: 2.938 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.03282, allocations: 16.58 kB / 0.5365 GB, free: 2.922 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.03301, allocations: 161.7 kB / 0.5367 GB, free: 2.746 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.03301, allocations: 4 kB / 0.5367 GB, free: 2.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003878/0.0334, allocations: 257.2 kB / 0.5369 GB, free: 2.488 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.03345, allocations: 111.4 kB / 0.537 GB, free: 2.355 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.0336, allocations: 276.3 kB / 0.5373 GB, free: 2.074 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.03362, allocations: 30.95 kB / 0.5373 GB, free: 2.039 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.03369, allocations: 179.4 kB / 0.5375 GB, free: 1.859 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.03375, allocations: 107.1 kB / 0.5376 GB, free: 1.754 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.03381, allocations: 71.97 kB / 0.5377 GB, free: 1.676 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.03393, allocations: 0.5196 MB / 0.5382 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.034, allocations: 36.47 kB / 0.5382 GB, free: 1.109 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.0341, allocations: 147.2 kB / 0.5383 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.03425, allocations: 120.2 kB / 0.5385 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.03425, allocations: 1.5 kB / 0.5385 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002331/0.03449, allocations: 213.3 kB / 0.5387 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.0345, allocations: 8 kB / 0.5387 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.0345, allocations: 0 / 0.5387 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.03452, allocations: 1.125 kB / 0.5387 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.03466, allocations: 63.91 kB / 0.5387 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.03466, allocations: 3.938 kB / 0.5387 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.03473, allocations: 24.75 kB / 0.5388 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.03474, allocations: 8 kB / 0.5388 GB, free: 0.5 MB / 458.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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 9.187e-05/0.03484, allocations: 181.1 kB / 0.5389 GB, free: 320 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.03487, allocations: 40.56 kB / 0.539 GB, free: 280 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.03523, allocations: 296.7 kB / 0.5393 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.03523, allocations: 4 kB / 0.5393 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.03524, allocations: 1.062 kB / 0.5393 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.03524, allocations: 3.984 kB / 0.5393 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.0354, allocations: 232.3 kB / 0.5395 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.0354, allocations: 1.844 kB / 0.5395 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.0355, allocations: 51.92 kB / 0.5395 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.0355, allocations: 3.984 kB / 0.5395 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.03552, allocations: 8 kB / 0.5396 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.03552, allocations: 4 kB / 0.5396 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.03552, allocations: 1.688 kB / 0.5396 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.03577, allocations: 273.5 kB / 0.5398 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.03583, allocations: 63.67 kB / 0.5399 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.03586, allocations: 12 kB / 0.5399 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.03592, allocations: 8.5 kB / 0.5399 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.03597, allocations: 24.89 kB / 0.5399 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.03599, allocations: 15.98 kB / 0.5399 GB, free: 15.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.225e-05/0.03608, allocations: 193.1 kB / 0.5401 GB, free: 15.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03608, allocations: 4.969 kB / 0.5401 GB, free: 15.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.03626, allocations: 51.89 kB / 0.5402 GB, free: 14.98 MB / 474.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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007352/0.037, allocations: 350.3 kB / 0.5405 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.03726, allocations: 147.5 kB / 0.5406 GB, free: 14.63 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03727, allocations: 5.359 kB / 0.5407 GB, free: 14.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.03737, allocations: 96.42 kB / 0.5407 GB, free: 14.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.03756, allocations: 52.36 kB / 0.5408 GB, free: 14.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.03829, allocations: 427.8 kB / 0.5412 GB, free: 14.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.517e-05/0.03836, allocations: 97.55 kB / 0.5413 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.03854, allocations: 139.7 kB / 0.5414 GB, free: 13.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.03861, allocations: 42.83 kB / 0.5415 GB, free: 13.76 MB / 474.7 MB Notification: Performance of SimCode: time 7.42e-07/0.03861, allocations: 4 kB / 0.5415 GB, free: 13.76 MB / 474.7 MB Notification: Performance of Templates: time 0.005042/0.04365, allocations: 3.044 MB / 0.5444 GB, free: 10.86 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.936514467932284]