Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001366/0.001366, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002763/0.002763, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.445/1.445, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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-531:686: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-531:694: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.186/1.186, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.95e-05, allocations: 3.188 kB / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003252/0.003282, allocations: 1.888 MB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.006071, allocations: 1.792 MB / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.006147, allocations: 0 / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.006385, allocations: 27.72 kB / 0.6222 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.006789, allocations: 127.2 kB / 0.6224 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.007233, allocations: 182.4 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.007581, allocations: 293.2 kB / 0.6228 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.0077, allocations: 25.3 kB / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.007872, allocations: 143.8 kB / 0.623 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.008082, allocations: 91.8 kB / 0.6231 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.008128, allocations: 23.94 kB / 0.6231 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.008345, allocations: 123.8 kB / 0.6232 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.008461, allocations: 91.73 kB / 0.6233 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.00857, allocations: 87.73 kB / 0.6234 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.009064, allocations: 394.7 kB / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.009069, allocations: 7.984 kB / 0.6238 GB, free: 15.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.009071, allocations: 0 / 0.6238 GB, free: 15.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.009076, allocations: 0 / 0.6238 GB, free: 15.26 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008785/0.009954, allocations: 0.5053 MB / 0.6242 GB, free: 14.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.009994, allocations: 12.03 kB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.01016, allocations: 32.75 kB / 0.6243 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.0105, allocations: 228.6 kB / 0.6245 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.01052, allocations: 16.31 kB / 0.6245 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.01055, allocations: 16.38 kB / 0.6245 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.01104, allocations: 370 kB / 0.6249 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.01106, allocations: 3.938 kB / 0.6249 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.01109, allocations: 12 kB / 0.6249 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.01109, allocations: 4 kB / 0.6249 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.012, allocations: 0.7021 MB / 0.6256 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.01302, allocations: 0.5353 MB / 0.6261 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.01352, allocations: 286.5 kB / 0.6264 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.01369, allocations: 105.4 kB / 0.6265 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.01374, allocations: 12.27 kB / 0.6265 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004151/0.01416, allocations: 230.8 kB / 0.6267 GB, free: 12.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.01416, allocations: 0 / 0.6267 GB, free: 12.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.0007603/0.01492, allocations: 395.3 kB / 0.6271 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.01501, allocations: 132.5 kB / 0.6272 GB, free: 11.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.01536, allocations: 321.8 kB / 0.6275 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.01539, allocations: 33.7 kB / 0.6276 GB, free: 11.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.0155, allocations: 140.7 kB / 0.6277 GB, free: 10.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.0156, allocations: 115 kB / 0.6278 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.0157, allocations: 61.69 kB / 0.6279 GB, free: 10.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.01586, allocations: 342.8 kB / 0.6282 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.016, allocations: 79.95 kB / 0.6283 GB, free: 10.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.01626, allocations: 205.5 kB / 0.6285 GB, free: 10.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.0166, allocations: 216.6 kB / 0.6287 GB, free: 9.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.0166, allocations: 3.984 kB / 0.6287 GB, free: 9.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004603/0.01706, allocations: 289.6 kB / 0.629 GB, free: 9.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.01708, allocations: 4 kB / 0.629 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01709, allocations: 0 / 0.629 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.0171, allocations: 0 / 0.629 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.01734, allocations: 63.91 kB / 0.629 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.01735, allocations: 4 kB / 0.629 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.01751, allocations: 35.7 kB / 0.6291 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.01754, allocations: 16 kB / 0.6291 GB, free: 9.531 MB / 0.545 GB 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 (36): * Single equations (assignments): 36 * 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.000196/0.01773, allocations: 170.7 kB / 0.6292 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.01779, allocations: 27.86 kB / 0.6293 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/0.0185, allocations: 380.8 kB / 0.6296 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.0185, allocations: 7.938 kB / 0.6296 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01851, allocations: 4 kB / 0.6296 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01852, allocations: 3.938 kB / 0.6296 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.01882, allocations: 249.1 kB / 0.6299 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01882, allocations: 3.938 kB / 0.6299 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.019, allocations: 51.97 kB / 0.6299 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01901, allocations: 4 kB / 0.6299 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.01903, allocations: 8 kB / 0.6299 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01903, allocations: 0 / 0.6299 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01903, allocations: 3.938 kB / 0.6299 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.01955, allocations: 338.4 kB / 0.6303 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.01967, allocations: 71.69 kB / 0.6303 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.01972, allocations: 8 kB / 0.6303 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.0199, allocations: 23.97 kB / 0.6304 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.01997, allocations: 27.81 kB / 0.6304 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.02001, allocations: 19.98 kB / 0.6304 GB, free: 8.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002386/0.02024, allocations: 245.2 kB / 0.6306 GB, free: 7.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02024, allocations: 0 / 0.6306 GB, free: 7.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003319/0.02058, allocations: 83.81 kB / 0.6307 GB, free: 7.77 MB / 0.545 GB 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 (35): * Single equations (assignments): 34 * 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.00171/0.02229, allocations: 0.4899 MB / 0.6312 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.02273, allocations: 223.7 kB / 0.6314 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02273, allocations: 0 / 0.6314 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.02294, allocations: 119.8 kB / 0.6315 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.02325, allocations: 47.44 kB / 0.6316 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.02419, allocations: 0.5271 MB / 0.6321 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.02435, allocations: 156.2 kB / 0.6322 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.02469, allocations: 154.8 kB / 0.6324 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.0248, allocations: 52.41 kB / 0.6324 GB, free: 6.184 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.0248, allocations: 0 / 0.6324 GB, free: 6.184 MB / 0.545 GB Notification: Performance of Templates: time 0.009275/0.03407, allocations: 3.831 MB / 0.6362 GB, free: 2.461 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.840047214180231] Failed to read output from testmodel.py, exit status != 0: 0.04306240379810333 0.057230013 0.045239604 Calling exit ...