Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00255/0.002549, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.599/1.599, allocations: 205.1 MB / 222 MB, free: 4.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 64.36 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2822, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7269/1.009, allocations: 163 MB / 0.9419 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003632/1.013, allocations: 1.572 MB / 0.9434 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/1.013, allocations: 17.78 kB / 0.9434 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000559/1.014, allocations: 111.9 kB / 0.9435 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/1.015, allocations: 437.7 kB / 0.9439 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/1.018, allocations: 0.6873 MB / 0.9446 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001416/1.019, allocations: 0.9984 MB / 0.9456 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/1.02, allocations: 219 kB / 0.9458 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/1.02, allocations: 284.7 kB / 0.9461 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/1.021, allocations: 236.1 kB / 0.9463 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/1.021, allocations: 15.75 kB / 0.9463 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/1.023, allocations: 0.9811 MB / 0.9473 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/1.023, allocations: 104.8 kB / 0.9474 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/1.023, allocations: 150 kB / 0.9475 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/1.024, allocations: 0.7722 MB / 0.9483 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.025, allocations: 0.9844 kB / 0.9483 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.042e-06/1.025, allocations: 0 / 0.9483 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.025, allocations: 0 / 0.9483 GB, free: 5.578 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001721/1.026, allocations: 0.6846 MB / 0.9489 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.026, allocations: 10.03 kB / 0.9489 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006075/1.027, allocations: 81.95 kB / 0.949 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/1.027, allocations: 307 kB / 0.9493 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/1.027, allocations: 18.16 kB / 0.9493 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/1.028, allocations: 26.66 kB / 0.9494 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/1.028, allocations: 329.5 kB / 0.9497 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.028, allocations: 4.969 kB / 0.9497 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/1.028, allocations: 13.09 kB / 0.9497 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/1.028, allocations: 10.09 kB / 0.9497 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/1.029, allocations: 281.9 kB / 0.95 GB, free: 20.76 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/1.031, allocations: 1.069 MB / 0.951 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/1.032, allocations: 321.8 kB / 0.9513 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/1.033, allocations: 136.6 kB / 0.9514 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007145/1.033, allocations: 397 kB / 0.9518 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.033, allocations: 36.09 kB / 0.9519 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 2.195e-06/1.033, allocations: 0 / 0.9519 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001334/1.035, allocations: 406.9 kB / 0.9522 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/1.035, allocations: 60.2 kB / 0.9523 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/1.035, allocations: 266.6 kB / 0.9526 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/1.035, allocations: 34.7 kB / 0.9526 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/1.035, allocations: 168.1 kB / 0.9528 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/1.035, allocations: 66.03 kB / 0.9528 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/1.035, allocations: 48.12 kB / 0.9529 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.036, allocations: 338 kB / 0.9532 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/1.036, allocations: 102.9 kB / 0.9533 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/1.036, allocations: 169.3 kB / 0.9534 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/1.037, allocations: 263.7 kB / 0.9537 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.037, allocations: 2.688 kB / 0.9537 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008908/1.038, allocations: 319.5 kB / 0.954 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.038, allocations: 6.219 kB / 0.954 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.038, allocations: 3.422 kB / 0.954 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/1.038, allocations: 6.859 kB / 0.954 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/1.038, allocations: 63.72 kB / 0.9541 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/1.038, allocations: 2.656 kB / 0.9541 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/1.039, allocations: 43.88 kB / 0.9541 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.039, allocations: 11.28 kB / 0.9541 GB, free: 18.76 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0002206/1.039, allocations: 156.9 kB / 0.9543 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/1.039, allocations: 28.5 kB / 0.9543 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/1.04, allocations: 306.1 kB / 0.9546 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.04, allocations: 6.281 kB / 0.9546 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.04, allocations: 4 kB / 0.9546 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.04, allocations: 2.172 kB / 0.9546 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/1.042, allocations: 0.9301 MB / 0.9555 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.042, allocations: 1.656 kB / 0.9555 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/1.042, allocations: 53.12 kB / 0.9556 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/1.043, allocations: 5.531 kB / 0.9556 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/1.043, allocations: 3.375 kB / 0.9556 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/1.043, allocations: 9.453 kB / 0.9556 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.043, allocations: 1.719 kB / 0.9556 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/1.044, allocations: 0.5591 MB / 0.9561 GB, free: 17.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/1.044, allocations: 127.3 kB / 0.9563 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/1.044, allocations: 12.03 kB / 0.9563 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/1.044, allocations: 23.03 kB / 0.9563 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/1.045, allocations: 24.98 kB / 0.9563 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/1.045, allocations: 10.81 kB / 0.9563 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002299/1.045, allocations: 196 kB / 0.9565 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.045, allocations: 4 kB / 0.9565 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006289/1.045, allocations: 106.3 kB / 0.9566 GB, free: 17.64 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0005458/1.046, allocations: 206.9 kB / 0.9568 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000737/1.047, allocations: 253.4 kB / 0.9571 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.047, allocations: 1.375 kB / 0.9571 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/1.047, allocations: 138 kB / 0.9572 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/1.048, allocations: 119 kB / 0.9573 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/1.049, allocations: 0.6986 MB / 0.958 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/1.049, allocations: 0.7809 MB / 0.9587 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002651/1.05, allocations: 62.69 kB / 0.9588 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/1.05, allocations: 24.62 kB / 0.9588 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/1.05, allocations: 0 / 0.9588 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of Templates: time 0.01293/1.063, allocations: 5.596 MB / 0.9643 GB, free: 15.99 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)