Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0429/0.0429, allocations: 9.129 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001433/0.001433, allocations: 95.2 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001099/0.001099, allocations: 164.5 kB / 38.73 MB, free: 2.484 MB / 24.77 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.9177/0.9177, allocations: 177.2 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003901/0.003901, allocations: 0.8242 MB / 276.5 MB, free: 0.7266 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.621/1.621, allocations: 274.9 MB / 0.5419 GB, free: 0.625 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.699e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002388/0.002405, allocations: 1.968 MB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.004214, allocations: 1.87 MB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.004274, allocations: 0 / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.00448, allocations: 35.66 kB / 0.6417 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.004788, allocations: 135.2 kB / 0.6418 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.005037, allocations: 167.4 kB / 0.642 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.005288, allocations: 293.3 kB / 0.6422 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.005372, allocations: 29.88 kB / 0.6423 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02172/0.02709, allocations: 9.473 MB / 0.6515 GB, free: 12 kB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.02722, allocations: 83.77 kB / 0.6516 GB, free: 15.93 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.02725, allocations: 23.98 kB / 0.6516 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.02739, allocations: 63.92 kB / 0.6517 GB, free: 15.84 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.02747, allocations: 87.73 kB / 0.6518 GB, free: 15.76 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.02756, allocations: 79.81 kB / 0.6518 GB, free: 15.68 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.02792, allocations: 274.8 kB / 0.6521 GB, free: 15.41 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.02793, allocations: 0 / 0.6521 GB, free: 15.41 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.314e-06/0.02793, allocations: 0 / 0.6521 GB, free: 15.41 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.02793, allocations: 0 / 0.6521 GB, free: 15.41 MB / 0.6199 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.0006241/0.02856, allocations: 471.8 kB / 0.6526 GB, free: 14.92 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.0286, allocations: 11.98 kB / 0.6526 GB, free: 14.91 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.02875, allocations: 44.8 kB / 0.6526 GB, free: 14.87 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.02904, allocations: 244.7 kB / 0.6528 GB, free: 14.6 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.02906, allocations: 12.38 kB / 0.6529 GB, free: 14.59 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.02908, allocations: 24.38 kB / 0.6529 GB, free: 14.56 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.02934, allocations: 284 kB / 0.6531 GB, free: 14.24 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.02935, allocations: 3.938 kB / 0.6532 GB, free: 14.24 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.02937, allocations: 12 kB / 0.6532 GB, free: 14.23 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.02938, allocations: 4 kB / 0.6532 GB, free: 14.22 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.02981, allocations: 483 kB / 0.6536 GB, free: 13.75 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.03042, allocations: 390.7 kB / 0.654 GB, free: 13.35 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.03064, allocations: 137.3 kB / 0.6541 GB, free: 13.21 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.0307, allocations: 57.38 kB / 0.6542 GB, free: 13.15 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.03073, allocations: 16.27 kB / 0.6542 GB, free: 13.13 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.03092, allocations: 174.8 kB / 0.6544 GB, free: 12.94 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=35): time 1.774e-06/0.03092, allocations: 0 / 0.6544 GB, free: 12.94 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35): time 0.0002714/0.03119, allocations: 177.3 kB / 0.6545 GB, free: 12.76 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.03125, allocations: 106.8 kB / 0.6546 GB, free: 12.63 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.03138, allocations: 213 kB / 0.6548 GB, free: 12.41 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.03141, allocations: 29.7 kB / 0.6549 GB, free: 12.38 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.03147, allocations: 117.1 kB / 0.655 GB, free: 12.26 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/0.03154, allocations: 118.9 kB / 0.6551 GB, free: 12.14 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.0316, allocations: 57.66 kB / 0.6552 GB, free: 12.08 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.03171, allocations: 350.7 kB / 0.6555 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.03175, allocations: 23.98 kB / 0.6555 GB, free: 11.7 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.03184, allocations: 123 kB / 0.6556 GB, free: 11.56 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.03195, allocations: 103.9 kB / 0.6557 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.03196, allocations: 0 / 0.6557 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001623/0.03212, allocations: 145.3 kB / 0.6559 GB, free: 11.31 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.03213, allocations: 4 kB / 0.6559 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.03214, allocations: 0 / 0.6559 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.03215, allocations: 4 kB / 0.6559 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.0323, allocations: 51.91 kB / 0.6559 GB, free: 11.25 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.0323, allocations: 8.031 kB / 0.6559 GB, free: 11.24 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.03237, allocations: 31.83 kB / 0.656 GB, free: 11.21 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.03239, allocations: 4 kB / 0.656 GB, free: 11.21 MB / 0.6199 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 9.601e-05/0.03248, allocations: 136.5 kB / 0.6561 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.03251, allocations: 27.97 kB / 0.6561 GB, free: 11.04 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.03279, allocations: 228.8 kB / 0.6563 GB, free: 10.8 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.0328, allocations: 4 kB / 0.6563 GB, free: 10.8 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.0328, allocations: 0 / 0.6563 GB, free: 10.8 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.0328, allocations: 3.984 kB / 0.6563 GB, free: 10.8 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.03298, allocations: 161.6 kB / 0.6565 GB, free: 10.62 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.03298, allocations: 0 / 0.6565 GB, free: 10.62 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.03308, allocations: 55.91 kB / 0.6566 GB, free: 10.57 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.03309, allocations: 8 kB / 0.6566 GB, free: 10.56 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.0331, allocations: 7.984 kB / 0.6566 GB, free: 10.55 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.0331, allocations: 3.938 kB / 0.6566 GB, free: 10.55 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0331, allocations: 0 / 0.6566 GB, free: 10.55 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.03328, allocations: 182.7 kB / 0.6567 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.03335, allocations: 59.64 kB / 0.6568 GB, free: 10.29 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.03338, allocations: 4 kB / 0.6568 GB, free: 10.29 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.0335, allocations: 19.98 kB / 0.6568 GB, free: 10.27 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.03354, allocations: 19.95 kB / 0.6568 GB, free: 10.25 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.03356, allocations: 11.98 kB / 0.6569 GB, free: 10.24 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.03362, allocations: 70.78 kB / 0.6569 GB, free: 10.17 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.03362, allocations: 4 kB / 0.6569 GB, free: 10.16 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001573/0.03377, allocations: 56 kB / 0.657 GB, free: 10.11 MB / 0.6199 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.00092/0.03469, allocations: 445.1 kB / 0.6574 GB, free: 9.66 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.03488, allocations: 124.7 kB / 0.6575 GB, free: 9.535 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.03488, allocations: 0 / 0.6575 GB, free: 9.535 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.03496, allocations: 76.69 kB / 0.6576 GB, free: 9.457 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.03514, allocations: 52.36 kB / 0.6576 GB, free: 9.402 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.03607, allocations: 478.7 kB / 0.6581 GB, free: 8.91 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/0.03613, allocations: 94.12 kB / 0.6582 GB, free: 8.797 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.03626, allocations: 82.94 kB / 0.6583 GB, free: 8.715 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.03642, allocations: 127.3 kB / 0.6584 GB, free: 8.59 MB / 0.6199 GB Notification: Performance of SimCode: time 9.92e-07/0.03642, allocations: 0 / 0.6584 GB, free: 8.59 MB / 0.6199 GB Notification: Performance of Templates: time 0.005727/0.04215, allocations: 3.715 MB / 0.662 GB, free: 4.859 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.473338426090777]