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.04057/0.04057, allocations: 9.131 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.0008304/0.0008304, allocations: 91.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.0009962/0.0009962, allocations: 164.7 kB / 38.73 MB, free: 2.406 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.9116/0.9116, 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.003879/0.003879, allocations: 0.833 MB / 276.5 MB, free: 0.7188 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.584/1.584, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.202e-06/1.202e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.864e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight): time 0.002272/0.002291, allocations: 1.76 MB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.003861, allocations: 1.57 MB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.003927, allocations: 3.938 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.004137, allocations: 27.78 kB / 0.6412 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.004452, allocations: 123.3 kB / 0.6413 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.00473, allocations: 151.5 kB / 0.6414 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.005054, allocations: 257.4 kB / 0.6417 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.005132, allocations: 15.98 kB / 0.6417 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02214/0.02727, allocations: 9.446 MB / 0.6509 GB, free: 0.6484 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.0274, allocations: 75.83 kB / 0.651 GB, free: 0.5742 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.02744, allocations: 16 kB / 0.651 GB, free: 0.5586 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.02761, allocations: 83.89 kB / 0.6511 GB, free: 488 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.02769, allocations: 91.73 kB / 0.6512 GB, free: 396 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.02775, allocations: 63.81 kB / 0.6512 GB, free: 332 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.02807, allocations: 266.9 kB / 0.6515 GB, free: 64 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.02808, allocations: 0 / 0.6515 GB, free: 64 kB / 0.6043 GB Notification: Performance of FrontEnd: time 1.222e-06/0.02808, allocations: 0 / 0.6515 GB, free: 64 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.02808, allocations: 0 / 0.6515 GB, free: 64 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.0005359/0.02862, allocations: 448.1 kB / 0.6519 GB, free: 15.59 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.02866, allocations: 11.98 kB / 0.6519 GB, free: 15.58 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.02886, allocations: 52.81 kB / 0.652 GB, free: 15.53 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.02909, allocations: 240.7 kB / 0.6522 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.02911, allocations: 12.38 kB / 0.6522 GB, free: 15.26 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.02913, allocations: 16.38 kB / 0.6522 GB, free: 15.24 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.02934, allocations: 220.8 kB / 0.6524 GB, free: 15 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.02934, allocations: 192 / 0.6524 GB, free: 15 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.02937, allocations: 8.125 kB / 0.6524 GB, free: 14.99 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.02937, allocations: 4 kB / 0.6524 GB, free: 14.98 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.02977, allocations: 490.5 kB / 0.6529 GB, free: 14.5 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.03019, allocations: 338.9 kB / 0.6532 GB, free: 14.15 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.03038, allocations: 144.1 kB / 0.6534 GB, free: 14 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.03044, allocations: 41.39 kB / 0.6534 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.03047, allocations: 24.2 kB / 0.6534 GB, free: 13.94 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.03061, allocations: 128.8 kB / 0.6536 GB, free: 13.8 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.03061, allocations: 0 / 0.6536 GB, free: 13.8 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34): time 0.0002386/0.03085, allocations: 165.5 kB / 0.6537 GB, free: 13.63 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.0309, allocations: 110.8 kB / 0.6538 GB, free: 13.5 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.03101, allocations: 205 kB / 0.654 GB, free: 13.29 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.03104, allocations: 29.7 kB / 0.654 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.03108, allocations: 109.2 kB / 0.6542 GB, free: 13.14 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.03115, allocations: 122.9 kB / 0.6543 GB, free: 13.02 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.03121, allocations: 61.64 kB / 0.6543 GB, free: 12.95 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.0313, allocations: 334.8 kB / 0.6546 GB, free: 12.62 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.03135, allocations: 27.98 kB / 0.6547 GB, free: 12.59 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.03143, allocations: 117.7 kB / 0.6548 GB, free: 12.45 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.03155, allocations: 104 kB / 0.6549 GB, free: 12.35 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.03155, allocations: 0 / 0.6549 GB, free: 12.35 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001605/0.03171, allocations: 153.3 kB / 0.655 GB, free: 12.19 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.03172, allocations: 4.031 kB / 0.655 GB, free: 12.19 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.03173, allocations: 4 kB / 0.655 GB, free: 12.18 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.03174, allocations: 4 kB / 0.655 GB, free: 12.18 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.03189, allocations: 51.91 kB / 0.6551 GB, free: 12.13 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.0319, allocations: 4 kB / 0.6551 GB, free: 12.12 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.03196, allocations: 23.81 kB / 0.6551 GB, free: 12.1 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.03198, allocations: 8 kB / 0.6551 GB, free: 12.09 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.657e-05/0.03206, allocations: 132.6 kB / 0.6553 GB, free: 11.95 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.03209, allocations: 27.92 kB / 0.6553 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.03236, allocations: 238 kB / 0.6555 GB, free: 11.69 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.03237, allocations: 8 kB / 0.6555 GB, free: 11.68 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.03237, allocations: 0 / 0.6555 GB, free: 11.68 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.03237, allocations: 3.984 kB / 0.6555 GB, free: 11.68 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.03253, allocations: 153.6 kB / 0.6557 GB, free: 11.51 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.03253, allocations: 3.984 kB / 0.6557 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.03264, allocations: 55.91 kB / 0.6557 GB, free: 11.45 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.03264, allocations: 4 kB / 0.6557 GB, free: 11.45 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.03265, allocations: 11.92 kB / 0.6557 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.03265, allocations: 0 / 0.6557 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.03265, allocations: 0 / 0.6557 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.03282, allocations: 178.3 kB / 0.6559 GB, free: 11.24 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.03288, allocations: 55.75 kB / 0.656 GB, free: 11.19 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.03291, allocations: 15.94 kB / 0.656 GB, free: 11.17 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.03297, allocations: 11.98 kB / 0.656 GB, free: 11.16 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.03301, allocations: 19.95 kB / 0.656 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.03302, allocations: 8 kB / 0.656 GB, free: 11.13 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.03308, allocations: 70.78 kB / 0.6561 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.03308, allocations: 0 / 0.6561 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.000147/0.03323, allocations: 55.89 kB / 0.6561 GB, free: 11.01 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.0009177/0.03414, allocations: 441.1 kB / 0.6566 GB, free: 10.56 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.03431, allocations: 128.6 kB / 0.6567 GB, free: 10.43 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.03431, allocations: 0 / 0.6567 GB, free: 10.43 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.03439, allocations: 81.19 kB / 0.6568 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.03451, allocations: 40.48 kB / 0.6568 GB, free: 10.31 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.03512, allocations: 412.4 kB / 0.6572 GB, free: 9.883 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.161e-05/0.03517, allocations: 94.05 kB / 0.6573 GB, free: 9.766 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.03529, allocations: 90.88 kB / 0.6574 GB, free: 9.676 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.03543, allocations: 107.3 kB / 0.6575 GB, free: 9.57 MB / 0.6199 GB Notification: Performance of SimCode: time 6.51e-07/0.03543, allocations: 4 kB / 0.6575 GB, free: 9.566 MB / 0.6199 GB Notification: Performance of Templates: time 0.004852/0.04028, allocations: 3.207 MB / 0.6606 GB, free: 6.348 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 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.382316056173295]