Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.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.CheckRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, 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.001865/0.001865, allocations: 194 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.513/1.513, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4238/0.4238, allocations: 54.94 MB / 324.7 MB, free: 40 kB / 254.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.001562/0.001562, allocations: 76.22 kB / 395.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1447, allocations: 59.59 MB / 455 MB, free: 76 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity): time 0.2885/0.4332, allocations: 1.586 MB / 456.6 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.4347, allocations: 1.129 MB / 457.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.4348, allocations: 2.75 kB / 457.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.435, allocations: 24.22 kB / 457.8 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.0002176/0.4352, allocations: 47.25 kB / 457.8 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.4355, allocations: 116.6 kB / 457.9 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.4358, allocations: 213.6 kB / 458.1 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.4359, allocations: 21.64 kB / 458.2 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.689e-05/0.436, allocations: 75.91 kB / 458.2 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.4362, allocations: 77.52 kB / 458.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.4363, allocations: 16.44 kB / 458.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.4364, allocations: 118.1 kB / 458.4 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.4365, allocations: 80.5 kB / 458.5 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.4366, allocations: 100.7 kB / 458.6 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.437, allocations: 286.8 kB / 458.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.437, allocations: 0 / 458.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.437, allocations: 1.562 kB / 458.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.437, allocations: 0 / 458.9 MB, free: 38.6 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00068/0.4377, allocations: 0.5277 MB / 459.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.4377, allocations: 9.781 kB / 459.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.4378, allocations: 25.28 kB / 459.5 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.438, allocations: 262 kB / 459.7 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.438, allocations: 15.19 kB / 459.7 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.4381, allocations: 14.53 kB / 459.8 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.4384, allocations: 195.9 kB / 459.9 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4384, allocations: 1.344 kB / 459.9 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.4384, allocations: 6.438 kB / 460 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4384, allocations: 4.719 kB / 460 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.4391, allocations: 0.7387 MB / 460.7 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.4398, allocations: 0.5639 MB / 461.3 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.4403, allocations: 302 kB / 461.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.4404, allocations: 108.2 kB / 461.7 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/0.4409, allocations: 465 kB / 462.1 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.4413, allocations: 165.5 kB / 462.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.4413, allocations: 0 / 462.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005685/0.4419, allocations: 383.8 kB / 462.7 MB, free: 36.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.4419, allocations: 80.08 kB / 462.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4421, allocations: 294.5 kB / 463 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.4422, allocations: 32.77 kB / 463 MB, free: 36.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.4422, allocations: 115.3 kB / 463.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.4423, allocations: 118.6 kB / 463.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.4424, allocations: 68.58 kB / 463.3 MB, free: 36.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.4424, allocations: 333.8 kB / 463.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4426, allocations: 85.08 kB / 463.8 MB, free: 36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.4427, allocations: 110.9 kB / 463.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.443, allocations: 213.3 kB / 464.1 MB, free: 35.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.443, allocations: 2.906 kB / 464.1 MB, free: 35.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003645/0.4433, allocations: 277.4 kB / 464.3 MB, free: 35.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4434, allocations: 7.125 kB / 464.4 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4434, allocations: 0 / 464.4 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4434, allocations: 7.25 kB / 464.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.4436, allocations: 62.56 kB / 464.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4436, allocations: 5.172 kB / 464.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.4437, allocations: 17.83 kB / 464.4 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.4437, allocations: 12.19 kB / 464.5 MB, free: 35.74 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 (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 0.0001123/0.4438, allocations: 163.4 kB / 464.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.4439, allocations: 27.03 kB / 464.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.4443, allocations: 324.4 kB / 465 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4444, allocations: 8.25 kB / 465 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4444, allocations: 0 / 465 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4444, allocations: 6.141 kB / 465 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.4446, allocations: 321.1 kB / 465.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4446, allocations: 2.844 kB / 465.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.4448, allocations: 60.61 kB / 465.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4448, allocations: 0 / 465.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.4448, allocations: 10.69 kB / 465.4 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.4448, allocations: 6.781 kB / 465.4 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4448, allocations: 1.906 kB / 465.4 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.4452, allocations: 320.9 kB / 465.7 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.4453, allocations: 144.2 kB / 465.8 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.4453, allocations: 6.875 kB / 465.8 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.4454, allocations: 18.14 kB / 465.8 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.4455, allocations: 19.02 kB / 465.9 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4455, allocations: 17.05 kB / 465.9 MB, free: 34.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.4456, allocations: 229.3 kB / 466.1 MB, free: 34.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4457, allocations: 0 / 466.1 MB, free: 34.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.4459, allocations: 67.12 kB / 466.2 MB, free: 34.75 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 (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.0009286/0.4469, allocations: 427.5 kB / 466.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.4473, allocations: 306.5 kB / 466.9 MB, free: 34.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4473, allocations: 0 / 466.9 MB, free: 34.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.4475, allocations: 127.5 kB / 467 MB, free: 34.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.4478, allocations: 34.09 kB / 467 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.4485, allocations: 0.502 MB / 467.5 MB, free: 34.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.4487, allocations: 0.753 MB / 468.3 MB, free: 33.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000284/0.449, allocations: 149.2 kB / 468.4 MB, free: 33.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.4491, allocations: 39.2 kB / 468.5 MB, free: 33.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4491, allocations: 0 / 468.5 MB, free: 33.52 MB / 382.1 MB Notification: Performance of Templates: time 0.006122/0.4552, allocations: 2.858 MB / 471.3 MB, free: 33.29 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.pipe 2>&1)