Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.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.068/0.068, allocations: 9.13 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.001462/0.001462, allocations: 101.9 kB / 35.34 MB, free: 1.078 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.001868/0.001868, allocations: 164.1 kB / 38.73 MB, free: 2.492 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 1.027/1.027, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.01119/0.01119, allocations: 0.8259 MB / 276.5 MB, free: 0.7305 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.693/1.693, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.374e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight): time 0.002231/0.002245, allocations: 1.799 MB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.003872, allocations: 1.574 MB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.003931, allocations: 0 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.004124, allocations: 31.72 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.004431, allocations: 115.3 kB / 0.6414 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.00474, allocations: 155.5 kB / 0.6415 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.004954, allocations: 253.4 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/0.005024, allocations: 15.98 kB / 0.6418 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02312/0.02814, allocations: 9.446 MB / 0.651 GB, free: 0.5508 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.02825, allocations: 71.83 kB / 0.6511 GB, free: 492 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.02827, allocations: 16 kB / 0.6511 GB, free: 476 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.02845, allocations: 91.89 kB / 0.6512 GB, free: 384 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.02852, allocations: 83.73 kB / 0.6512 GB, free: 300 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.02857, allocations: 67.75 kB / 0.6513 GB, free: 232 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.02887, allocations: 263 kB / 0.6516 GB, free: 15.97 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.02887, allocations: 0 / 0.6516 GB, free: 15.97 MB / 0.6199 GB Notification: Performance of FrontEnd: time 7.31e-07/0.02887, allocations: 0 / 0.6516 GB, free: 15.97 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.02888, allocations: 0 / 0.6516 GB, free: 15.97 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004638/0.02934, allocations: 448 kB / 0.652 GB, free: 15.5 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.02937, allocations: 11.98 kB / 0.652 GB, free: 15.49 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.02961, allocations: 56.88 kB / 0.652 GB, free: 15.44 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.02986, allocations: 236.7 kB / 0.6523 GB, free: 15.18 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.02989, allocations: 12.38 kB / 0.6523 GB, free: 15.17 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.02991, allocations: 20.31 kB / 0.6523 GB, free: 15.15 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.03011, allocations: 216.8 kB / 0.6525 GB, free: 14.91 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.03012, allocations: 192 / 0.6525 GB, free: 14.91 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.03014, allocations: 12.12 kB / 0.6525 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.03014, allocations: 4 kB / 0.6525 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.03055, allocations: 494.5 kB / 0.653 GB, free: 14.41 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.03099, allocations: 334.9 kB / 0.6533 GB, free: 14.06 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.03117, allocations: 140.1 kB / 0.6534 GB, free: 13.91 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.03122, allocations: 49.39 kB / 0.6535 GB, free: 13.86 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.03125, allocations: 16.2 kB / 0.6535 GB, free: 13.85 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.03139, allocations: 128.8 kB / 0.6536 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.03139, allocations: 0 / 0.6536 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34): time 0.0002213/0.03161, allocations: 165.5 kB / 0.6538 GB, free: 13.54 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.03165, allocations: 114.8 kB / 0.6539 GB, free: 13.41 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.03176, allocations: 201 kB / 0.6541 GB, free: 13.2 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.03179, allocations: 33.7 kB / 0.6541 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.03183, allocations: 113.2 kB / 0.6542 GB, free: 13.04 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.03189, allocations: 114.9 kB / 0.6543 GB, free: 12.93 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.03195, allocations: 69.58 kB / 0.6544 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.03203, allocations: 334.8 kB / 0.6547 GB, free: 12.52 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.03208, allocations: 27.98 kB / 0.6548 GB, free: 12.49 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.03223, allocations: 117.7 kB / 0.6549 GB, free: 12.36 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.03235, allocations: 104 kB / 0.655 GB, free: 12.25 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.03235, allocations: 0 / 0.655 GB, free: 12.25 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001512/0.0325, allocations: 149.3 kB / 0.6551 GB, free: 12.1 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.03251, allocations: 8.031 kB / 0.6551 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.03251, allocations: 0 / 0.6551 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.03252, allocations: 4 kB / 0.6551 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.03267, allocations: 63.89 kB / 0.6552 GB, free: 12.02 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.03268, allocations: 4 kB / 0.6552 GB, free: 12.02 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.03274, allocations: 19.89 kB / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.03276, allocations: 11.98 kB / 0.6552 GB, free: 11.99 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 8.067e-05/0.03284, allocations: 124.6 kB / 0.6553 GB, free: 11.86 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.03287, allocations: 31.91 kB / 0.6554 GB, free: 11.82 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.03313, allocations: 238 kB / 0.6556 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.03314, allocations: 8 kB / 0.6556 GB, free: 11.58 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.03314, allocations: 0 / 0.6556 GB, free: 11.58 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.03314, allocations: 0 / 0.6556 GB, free: 11.58 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.03329, allocations: 161.6 kB / 0.6558 GB, free: 11.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.03329, allocations: 0 / 0.6558 GB, free: 11.4 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.0334, allocations: 51.97 kB / 0.6558 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.03341, allocations: 3.938 kB / 0.6558 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.03342, allocations: 15.92 kB / 0.6558 GB, free: 11.33 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.03342, allocations: 0 / 0.6558 GB, free: 11.33 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.03342, allocations: 0 / 0.6558 GB, free: 11.33 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.03358, allocations: 182.3 kB / 0.656 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.03365, allocations: 55.73 kB / 0.6561 GB, free: 11.08 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.03367, allocations: 11.94 kB / 0.6561 GB, free: 11.07 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.03373, allocations: 8 kB / 0.6561 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.03377, allocations: 23.95 kB / 0.6561 GB, free: 11.04 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.03378, allocations: 7.984 kB / 0.6561 GB, free: 11.03 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 6.46e-05/0.03385, allocations: 70.78 kB / 0.6562 GB, free: 10.96 MB / 0.6199 GB Notification: Performance of sort global known variables: time 9e-08/0.03385, allocations: 0 / 0.6562 GB, free: 10.96 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002613/0.03411, allocations: 59.89 kB / 0.6562 GB, free: 10.9 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.0009156/0.03503, allocations: 452.9 kB / 0.6567 GB, free: 10.45 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.03521, allocations: 124.6 kB / 0.6568 GB, free: 10.32 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.03521, allocations: 4 kB / 0.6568 GB, free: 10.32 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.03529, allocations: 73.2 kB / 0.6568 GB, free: 10.24 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.03542, allocations: 48.41 kB / 0.6569 GB, free: 10.2 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.036, allocations: 412.5 kB / 0.6573 GB, free: 9.766 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.03605, allocations: 90.05 kB / 0.6574 GB, free: 9.652 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.03618, allocations: 82.89 kB / 0.6575 GB, free: 9.57 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.03633, allocations: 115.3 kB / 0.6576 GB, free: 9.457 MB / 0.6199 GB Notification: Performance of SimCode: time 9.12e-07/0.03633, allocations: 4 kB / 0.6576 GB, free: 9.453 MB / 0.6199 GB Notification: Performance of Templates: time 0.004919/0.04125, allocations: 3.207 MB / 0.6607 GB, free: 6.234 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.641289970371872]