Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.855/1.855, allocations: 287.5 MB / 302.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 191.3 kB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007717/0.0007718, allocations: 91.67 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 16.03 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2462, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6969/0.9432, allocations: 150.1 MB / 1.125 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003998/0.9473, allocations: 1.475 MB / 1.127 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004462/0.9478, allocations: 10.88 kB / 1.127 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.9484, allocations: 100.8 kB / 1.127 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.9497, allocations: 356.5 kB / 1.127 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.9521, allocations: 0.555 MB / 1.128 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.9534, allocations: 0.8407 MB / 1.129 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.9538, allocations: 220.8 kB / 1.129 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.9544, allocations: 282.1 kB / 1.129 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.9546, allocations: 213.7 kB / 1.129 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.9547, allocations: 17.88 kB / 1.129 GB, free: 500 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.956, allocations: 0.5357 MB / 1.13 GB, free: 444 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.9562, allocations: 99.89 kB / 1.13 GB, free: 436 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.9563, allocations: 78.3 kB / 1.13 GB, free: 16.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000645/0.957, allocations: 467.6 kB / 1.13 GB, free: 16.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.957, allocations: 0 / 1.13 GB, free: 16.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/0.957, allocations: 0 / 1.13 GB, free: 16.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.957, allocations: 0 / 1.13 GB, free: 16.34 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.001091/0.9581, allocations: 0.6375 MB / 1.131 GB, free: 15.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9581, allocations: 10.97 kB / 1.131 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004566/0.9586, allocations: 93.69 kB / 1.131 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.9591, allocations: 304 kB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.9591, allocations: 17.62 kB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.9592, allocations: 21.53 kB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/0.96, allocations: 345.3 kB / 1.132 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.96, allocations: 3.938 kB / 1.132 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.96, allocations: 12.81 kB / 1.132 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.96, allocations: 11.31 kB / 1.132 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.9607, allocations: 311.7 kB / 1.132 GB, free: 15.51 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.001722/0.9624, allocations: 1.082 MB / 1.133 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/0.9634, allocations: 342.2 kB / 1.133 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.9637, allocations: 150.3 kB / 1.134 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006565/0.9644, allocations: 408.5 kB / 1.134 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.9644, allocations: 40.84 kB / 1.134 GB, free: 14.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.542e-06/0.9644, allocations: 0 / 1.134 GB, free: 14.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001163/0.9656, allocations: 456.5 kB / 1.134 GB, free: 14.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.9657, allocations: 58.66 kB / 1.134 GB, free: 14.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.9659, allocations: 258.2 kB / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.966, allocations: 32.3 kB / 1.135 GB, free: 14.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.9661, allocations: 171.9 kB / 1.135 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.9662, allocations: 66.62 kB / 1.135 GB, free: 14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.9662, allocations: 2.844 kB / 1.135 GB, free: 14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.9663, allocations: 342.2 kB / 1.135 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.9666, allocations: 121.1 kB / 1.135 GB, free: 13.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.967, allocations: 186.3 kB / 1.136 GB, free: 13.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.9676, allocations: 300.9 kB / 1.136 GB, free: 13.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9676, allocations: 0 / 1.136 GB, free: 13.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007007/0.9684, allocations: 349.1 kB / 1.136 GB, free: 13.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9684, allocations: 6.812 kB / 1.136 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9684, allocations: 0 / 1.136 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.9684, allocations: 5.875 kB / 1.136 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.9687, allocations: 72.64 kB / 1.136 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.9687, allocations: 3.281 kB / 1.136 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.969, allocations: 51.02 kB / 1.136 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.969, allocations: 8.609 kB / 1.136 GB, free: 13.46 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.0001696/0.9692, allocations: 162.9 kB / 1.137 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.9692, allocations: 24.88 kB / 1.137 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.97, allocations: 340.3 kB / 1.137 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.97, allocations: 5.5 kB / 1.137 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.97, allocations: 4.969 kB / 1.137 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.97, allocations: 5.891 kB / 1.137 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.9716, allocations: 0.9614 MB / 1.138 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.9716, allocations: 3 kB / 1.138 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.9718, allocations: 61.36 kB / 1.138 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.9719, allocations: 1.438 kB / 1.138 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.9719, allocations: 8.906 kB / 1.138 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.9719, allocations: 3.188 kB / 1.138 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.9719, allocations: 1.594 kB / 1.138 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.973, allocations: 0.6093 MB / 1.139 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.9731, allocations: 119.8 kB / 1.139 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.9732, allocations: 5.781 kB / 1.139 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.9734, allocations: 42.92 kB / 1.139 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.9735, allocations: 25.45 kB / 1.139 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.9736, allocations: 7.188 kB / 1.139 GB, free: 12.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001796/0.9737, allocations: 193.8 kB / 1.139 GB, free: 12.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.603e-06/0.9738, allocations: 0 / 1.139 GB, free: 12.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004708/0.9742, allocations: 107.9 kB / 1.139 GB, free: 12.3 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.0004729/0.9747, allocations: 196.9 kB / 1.139 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007901/0.9755, allocations: 290.4 kB / 1.139 GB, free: 12.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9755, allocations: 0.9375 kB / 1.139 GB, free: 12.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.9759, allocations: 157.5 kB / 1.14 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.9767, allocations: 121 kB / 1.14 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.9778, allocations: 0.7153 MB / 1.14 GB, free: 11.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.9782, allocations: 0.7831 MB / 1.141 GB, free: 11.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.9785, allocations: 63.48 kB / 1.141 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.9786, allocations: 25.44 kB / 1.141 GB, free: 11 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9786, allocations: 0 / 1.141 GB, free: 11 MB / 0.698 GB Notification: Performance of Templates: time 0.01303/0.9916, allocations: 5.441 MB / 1.147 GB, free: 8.738 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)