Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 192.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 222.4 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4293/0.4293, allocations: 54.94 MB / 324.7 MB, free: 15.91 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001809/0.00181, allocations: 67.91 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1316, allocations: 59.6 MB / 454.9 MB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight): time 0.2052/0.3369, allocations: 1.567 MB / 456.5 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3384, allocations: 1.072 MB / 457.6 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3386, allocations: 0 / 457.6 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.3389, allocations: 22.91 kB / 457.6 MB, free: 38.79 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3392, allocations: 46.67 kB / 457.6 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.3397, allocations: 96.09 kB / 457.7 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.34, allocations: 208.5 kB / 457.9 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3402, allocations: 23.97 kB / 458 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3403, allocations: 60.53 kB / 458 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.3405, allocations: 74.95 kB / 458.1 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.3406, allocations: 17.28 kB / 458.1 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.3408, allocations: 94.22 kB / 458.2 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.3409, allocations: 78.41 kB / 458.3 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.341, allocations: 90.8 kB / 458.4 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.3414, allocations: 263.8 kB / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3414, allocations: 1.156 kB / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3414, allocations: 0 / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.3414, allocations: 0 / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007026/0.3421, allocations: 0.5125 MB / 459.1 MB, free: 38.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3422, allocations: 10.78 kB / 459.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.3425, allocations: 52.81 kB / 459.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3428, allocations: 258.8 kB / 459.5 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3428, allocations: 14.97 kB / 459.5 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3428, allocations: 13.12 kB / 459.5 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.3432, allocations: 199.9 kB / 459.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3432, allocations: 3.984 kB / 459.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.3432, allocations: 10.06 kB / 459.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3432, allocations: 3.031 kB / 459.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/0.344, allocations: 0.7468 MB / 460.4 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007358/0.3448, allocations: 0.5541 MB / 461 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.3453, allocations: 317.5 kB / 461.3 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.3455, allocations: 115 kB / 461.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.3455, allocations: 17.42 kB / 461.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.3459, allocations: 185.9 kB / 461.6 MB, free: 37.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.3459, allocations: 0.5 kB / 461.6 MB, free: 37.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.000698/0.3467, allocations: 379.2 kB / 462 MB, free: 37.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3467, allocations: 92.83 kB / 462.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3469, allocations: 290.8 kB / 462.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.347, allocations: 33.23 kB / 462.4 MB, free: 37.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.347, allocations: 118 kB / 462.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.3471, allocations: 112.8 kB / 462.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.3472, allocations: 60.52 kB / 462.7 MB, free: 36.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.3473, allocations: 337.2 kB / 463 MB, free: 36.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.3474, allocations: 87.8 kB / 463.1 MB, free: 36.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.3476, allocations: 113.5 kB / 463.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.348, allocations: 224.3 kB / 463.4 MB, free: 36.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.348, allocations: 0 / 463.4 MB, free: 36.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004529/0.3484, allocations: 291.9 kB / 463.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3485, allocations: 5.469 kB / 463.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3485, allocations: 0.7031 kB / 463.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3485, allocations: 2.094 kB / 463.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.3487, allocations: 65.14 kB / 463.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3487, allocations: 2.781 kB / 463.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3489, allocations: 19.22 kB / 463.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.3489, allocations: 16.33 kB / 463.8 MB, free: 36.22 MB / 382.1 MB 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.tStart,$PRE.conTim.tStart,$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.0001289/0.349, allocations: 161.5 kB / 464 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.3491, allocations: 26.84 kB / 464 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.073e-05/0.3492, allocations: 34.12 kB / 464 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3492, allocations: 13.88 kB / 464 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3492, allocations: 0.875 kB / 464 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3492, allocations: 0 / 464 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3495, allocations: 333.8 kB / 464.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3495, allocations: 0 / 464.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3497, allocations: 59.28 kB / 464.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3497, allocations: 0 / 464.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3497, allocations: 10.09 kB / 464.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.3497, allocations: 11.91 kB / 464.5 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3497, allocations: 0 / 464.5 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.3502, allocations: 320.7 kB / 464.8 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3503, allocations: 144.4 kB / 464.9 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3504, allocations: 5.312 kB / 464.9 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3505, allocations: 20.05 kB / 464.9 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.3506, allocations: 16.17 kB / 464.9 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3506, allocations: 17.62 kB / 465 MB, free: 35.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.3507, allocations: 220.6 kB / 465.2 MB, free: 35.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3508, allocations: 0 / 465.2 MB, free: 35.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.351, allocations: 58.03 kB / 465.2 MB, free: 35.36 MB / 382.1 MB 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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0009387/0.352, allocations: 405.4 kB / 465.6 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005487/0.3526, allocations: 306.3 kB / 465.9 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3526, allocations: 0 / 465.9 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.3528, allocations: 148.6 kB / 466.1 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.353, allocations: 26.61 kB / 466.1 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.3538, allocations: 0.4947 MB / 466.6 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.354, allocations: 0.7477 MB / 467.3 MB, free: 34.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.3543, allocations: 145.2 kB / 467.5 MB, free: 34.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.3544, allocations: 42.44 kB / 467.5 MB, free: 34.12 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3544, allocations: 0 / 467.5 MB, free: 34.12 MB / 382.1 MB Notification: Performance of Templates: time 0.006225/0.3606, allocations: 2.562 MB / 470.1 MB, free: 33.92 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe 2>&1)