Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 183.8 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008823/0.0008821, allocations: 88.5 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006145/0.0006148, allocations: 11.81 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2514, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1579/0.4093, allocations: 150.2 MB / 1.048 GB, free: 9.645 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002802/0.4122, allocations: 1.53 MB / 1.049 GB, free: 8.113 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.4125, allocations: 7.938 kB / 1.049 GB, free: 8.105 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.4129, allocations: 103.3 kB / 1.049 GB, free: 8.004 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.414, allocations: 354.3 kB / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.4157, allocations: 0.5549 MB / 1.05 GB, free: 7.102 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009203/0.4166, allocations: 0.8307 MB / 1.051 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.417, allocations: 192.5 kB / 1.051 GB, free: 6.082 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.4175, allocations: 274.9 kB / 1.051 GB, free: 5.812 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.4178, allocations: 215.1 kB / 1.051 GB, free: 5.602 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.4178, allocations: 16 kB / 1.051 GB, free: 5.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.4189, allocations: 0.5339 MB / 1.052 GB, free: 5.051 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.4191, allocations: 95.75 kB / 1.052 GB, free: 4.957 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.4191, allocations: 85.52 kB / 1.052 GB, free: 4.867 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.4197, allocations: 475.2 kB / 1.053 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4198, allocations: 0 / 1.053 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4198, allocations: 0 / 1.053 GB, free: 4.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4198, allocations: 0 / 1.053 GB, free: 4.402 MB / 0.698 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.00106/0.4209, allocations: 0.6313 MB / 1.053 GB, free: 3.723 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4209, allocations: 8.031 kB / 1.053 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.4214, allocations: 83.52 kB / 1.053 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.4218, allocations: 295.9 kB / 1.054 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.4218, allocations: 20.56 kB / 1.054 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.4219, allocations: 24 kB / 1.054 GB, free: 3.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.4226, allocations: 344.2 kB / 1.054 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4226, allocations: 0 / 1.054 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.4226, allocations: 8 kB / 1.054 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.4226, allocations: 8 kB / 1.054 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/0.4234, allocations: 317.5 kB / 1.054 GB, free: 2.578 MB / 0.698 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.001603/0.425, allocations: 1.079 MB / 1.055 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/0.4259, allocations: 351.6 kB / 1.056 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.4263, allocations: 148.8 kB / 1.056 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/0.427, allocations: 412.3 kB / 1.056 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.427, allocations: 30.56 kB / 1.056 GB, free: 408 kB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.427, allocations: 0 / 1.056 GB, free: 408 kB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.5035/0.9305, allocations: 453 kB / 1.057 GB, free: 157.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.9306, allocations: 53.97 kB / 1.057 GB, free: 157.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.931, allocations: 260.4 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.9311, allocations: 28.89 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.9312, allocations: 166.3 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.9313, allocations: 70.19 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.9313, allocations: 4.594 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.9314, allocations: 332.5 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.9317, allocations: 121.3 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.9321, allocations: 173 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.9324, allocations: 141 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9325, allocations: 0 / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007378/0.9332, allocations: 345.5 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.9332, allocations: 9.719 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.9333, allocations: 2.906 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.9333, allocations: 2.75 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.9336, allocations: 66.3 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.9336, allocations: 5.469 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.9339, allocations: 51.91 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.9339, allocations: 8.469 kB / 1.058 GB, free: 157.1 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.9341, allocations: 156.9 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.9341, allocations: 29.31 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008247/0.935, allocations: 345.7 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.935, allocations: 2.438 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.935, allocations: 3.953 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.935, allocations: 4.594 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.9365, allocations: 0.9623 MB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.9365, allocations: 2.781 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.9367, allocations: 60.69 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.9368, allocations: 3.688 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.9368, allocations: 2.875 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.9368, allocations: 2.969 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9368, allocations: 8.359 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.9378, allocations: 0.5974 MB / 1.061 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.9379, allocations: 131.6 kB / 1.061 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.938, allocations: 2.938 kB / 1.061 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.9382, allocations: 41.94 kB / 1.061 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.9383, allocations: 24.75 kB / 1.061 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.9384, allocations: 11.72 kB / 1.061 GB, free: 156.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000141/0.9385, allocations: 183.1 kB / 1.061 GB, free: 156.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9385, allocations: 0 / 1.061 GB, free: 156.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004443/0.939, allocations: 109.6 kB / 1.061 GB, free: 156.1 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000444/0.9394, allocations: 208 kB / 1.061 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007141/0.9401, allocations: 286.7 kB / 1.062 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9401, allocations: 0 / 1.062 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.9405, allocations: 157.6 kB / 1.062 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.9412, allocations: 122.4 kB / 1.062 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.9424, allocations: 0.7313 MB / 1.063 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.9427, allocations: 0.7765 MB / 1.063 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.9428, allocations: 31.53 kB / 1.063 GB, free: 154.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9428, allocations: 0 / 1.063 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01069/0.9535, allocations: 4.991 MB / 1.068 GB, free: 154.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)