Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.04606/0.04606, allocations: 9.129 MB / 28.99 MB, free: 340 kB / 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.0009748/0.0009748, allocations: 87.27 kB / 35.33 MB, free: 0.9375 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.001272/0.001272, allocations: 165.8 kB / 38.73 MB, free: 2.398 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.9952/0.9952, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004226/0.004226, allocations: 0.8331 MB / 276.5 MB, free: 0.7422 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.704/1.704, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.82e-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.LimitMin): time 0.002594/0.002622, allocations: 1.741 MB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004243, allocations: 1.426 MB / 0.641 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.004316, allocations: 4 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.004556, allocations: 19.8 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.00491, allocations: 119.3 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.005195, allocations: 143.5 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.005451, allocations: 245.5 kB / 0.6415 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.00554, allocations: 8 kB / 0.6415 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02539/0.03093, allocations: 9.45 MB / 0.6507 GB, free: 0.8242 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.03117, allocations: 75.81 kB / 0.6508 GB, free: 0.75 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.03122, allocations: 16 kB / 0.6508 GB, free: 0.7344 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.03144, allocations: 55.92 kB / 0.6509 GB, free: 0.6797 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.03156, allocations: 87.73 kB / 0.6509 GB, free: 0.5938 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0005244/0.03208, allocations: 59.83 kB / 0.651 GB, free: 0.5352 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.0326, allocations: 239 kB / 0.6512 GB, free: 308 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.03261, allocations: 0 / 0.6512 GB, free: 308 kB / 0.6043 GB Notification: Performance of FrontEnd: time 3.937e-06/0.03262, allocations: 4 kB / 0.6512 GB, free: 304 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.03263, allocations: 0 / 0.6512 GB, free: 304 kB / 0.6043 GB 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.0008216/0.03345, allocations: 436 kB / 0.6516 GB, free: 15.84 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.03351, allocations: 15.98 kB / 0.6517 GB, free: 15.83 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.03359, allocations: 32.84 kB / 0.6517 GB, free: 15.8 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.03392, allocations: 232.7 kB / 0.6519 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.03394, allocations: 16.38 kB / 0.6519 GB, free: 15.53 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.03398, allocations: 16.38 kB / 0.6519 GB, free: 15.51 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.03421, allocations: 208.8 kB / 0.6521 GB, free: 15.28 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.03422, allocations: 4.125 kB / 0.6521 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.03424, allocations: 12.12 kB / 0.6522 GB, free: 15.26 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.03424, allocations: 8 kB / 0.6522 GB, free: 15.25 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.03468, allocations: 490.5 kB / 0.6526 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.03518, allocations: 331.1 kB / 0.653 GB, free: 14.43 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.0354, allocations: 127.1 kB / 0.6531 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.03546, allocations: 41.41 kB / 0.6531 GB, free: 14.25 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.03551, allocations: 24.14 kB / 0.6531 GB, free: 14.23 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.03569, allocations: 120.8 kB / 0.6533 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=34): time 3.036e-06/0.03569, allocations: 0 / 0.6533 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34): time 0.000324/0.03601, allocations: 165.5 kB / 0.6534 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.03608, allocations: 110.8 kB / 0.6535 GB, free: 13.8 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.03622, allocations: 209 kB / 0.6537 GB, free: 13.58 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.03625, allocations: 33.7 kB / 0.6537 GB, free: 13.54 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.0363, allocations: 109.2 kB / 0.6539 GB, free: 13.43 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.03638, allocations: 111 kB / 0.654 GB, free: 13.32 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.03645, allocations: 61.53 kB / 0.654 GB, free: 13.26 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.03656, allocations: 338.8 kB / 0.6543 GB, free: 12.92 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.03661, allocations: 23.98 kB / 0.6544 GB, free: 12.89 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.442e-05/0.03671, allocations: 117.8 kB / 0.6545 GB, free: 12.76 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.03683, allocations: 99.44 kB / 0.6546 GB, free: 12.66 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.03684, allocations: 4.031 kB / 0.6546 GB, free: 12.65 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001747/0.03701, allocations: 145.9 kB / 0.6547 GB, free: 12.5 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.03703, allocations: 4 kB / 0.6547 GB, free: 12.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.03703, allocations: 0 / 0.6547 GB, free: 12.5 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.03705, allocations: 4 kB / 0.6547 GB, free: 12.5 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.03721, allocations: 51.97 kB / 0.6548 GB, free: 12.45 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.03722, allocations: 7.938 kB / 0.6548 GB, free: 12.44 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.0373, allocations: 27.81 kB / 0.6548 GB, free: 12.41 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.03731, allocations: 8 kB / 0.6548 GB, free: 12.4 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 (35): * Single equations (assignments): 35 * 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.0001116/0.03743, allocations: 132.7 kB / 0.6549 GB, free: 12.26 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.03746, allocations: 27.92 kB / 0.655 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.03778, allocations: 230 kB / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.03778, allocations: 4 kB / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.03778, allocations: 0 / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.03779, allocations: 3.984 kB / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.03796, allocations: 165.5 kB / 0.6553 GB, free: 11.82 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.03796, allocations: 0 / 0.6553 GB, free: 11.82 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.03808, allocations: 55.91 kB / 0.6554 GB, free: 11.76 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.03808, allocations: 0 / 0.6554 GB, free: 11.76 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.0381, allocations: 11.94 kB / 0.6554 GB, free: 11.75 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.0381, allocations: 0 / 0.6554 GB, free: 11.75 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.03811, allocations: 0 / 0.6554 GB, free: 11.75 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.03831, allocations: 170.3 kB / 0.6556 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.03839, allocations: 51.75 kB / 0.6556 GB, free: 11.52 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.03843, allocations: 11.94 kB / 0.6556 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.03851, allocations: 15.92 kB / 0.6557 GB, free: 11.49 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.03856, allocations: 23.95 kB / 0.6557 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.03858, allocations: 8 kB / 0.6557 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 6.491e-05/0.03865, allocations: 62.78 kB / 0.6557 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.03865, allocations: 0 / 0.6557 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001966/0.03884, allocations: 52 kB / 0.6558 GB, free: 11.34 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 (34): * Single equations (assignments): 33 * 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.001012/0.03985, allocations: 445.1 kB / 0.6562 GB, free: 10.89 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.04006, allocations: 124.5 kB / 0.6563 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.04006, allocations: 0 / 0.6563 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.04015, allocations: 73.25 kB / 0.6564 GB, free: 10.7 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.04031, allocations: 44.41 kB / 0.6564 GB, free: 10.65 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/0.04103, allocations: 420.5 kB / 0.6568 GB, free: 10.21 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.136e-05/0.04109, allocations: 90.05 kB / 0.6569 GB, free: 10.11 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.04125, allocations: 82.95 kB / 0.657 GB, free: 10.02 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.04139, allocations: 115.3 kB / 0.6571 GB, free: 9.906 MB / 0.6199 GB Notification: Performance of SimCode: time 9.31e-07/0.0414, allocations: 0 / 0.6571 GB, free: 9.906 MB / 0.6199 GB Notification: Performance of Templates: time 0.006552/0.04795, allocations: 3.093 MB / 0.6601 GB, free: 6.801 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7629182119853795]