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.787/1.787, allocations: 252 MB / 268 MB, free: 10.84 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.0009911/0.000991, allocations: 176.3 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008698/0.00087, allocations: 85.62 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 10.34 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5742/0.7753, allocations: 161 MB / 1.059 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.7785, allocations: 1.599 MB / 1.06 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.7787, allocations: 11.69 kB / 1.06 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.7792, allocations: 105.5 kB / 1.06 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.7802, allocations: 448.9 kB / 1.061 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.782, allocations: 0.6856 MB / 1.061 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009534/0.783, allocations: 0.9814 MB / 1.062 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.7834, allocations: 219 kB / 1.063 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.7839, allocations: 277.1 kB / 1.063 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.7842, allocations: 231.8 kB / 1.063 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.7842, allocations: 14.59 kB / 1.063 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.786, allocations: 0.9768 MB / 1.064 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.7861, allocations: 108.9 kB / 1.064 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.7863, allocations: 162.2 kB / 1.064 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.7871, allocations: 0.5144 MB / 1.065 GB, free: 1.863 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7871, allocations: 4 kB / 1.065 GB, free: 1.859 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.504e-06/0.7871, allocations: 0.5156 kB / 1.065 GB, free: 1.859 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.7871, allocations: 0 / 1.065 GB, free: 1.859 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.001135/0.7883, allocations: 0.6268 MB / 1.065 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7883, allocations: 9.812 kB / 1.065 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/0.7888, allocations: 86.75 kB / 1.066 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.7892, allocations: 297.4 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.7892, allocations: 18.81 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.7893, allocations: 25.03 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.79, allocations: 353.3 kB / 1.066 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.79, allocations: 0 / 1.066 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.79, allocations: 11.22 kB / 1.066 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.79, allocations: 5.562 kB / 1.066 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.7907, allocations: 316.8 kB / 1.067 GB, free: 17.06 MB / 0.7136 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.00158/0.7923, allocations: 1.079 MB / 1.068 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008824/0.7932, allocations: 338.9 kB / 1.068 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.7936, allocations: 152.1 kB / 1.068 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/0.7943, allocations: 409.8 kB / 1.068 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.7944, allocations: 45.58 kB / 1.068 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.714e-06/0.7944, allocations: 0 / 1.068 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0014/0.7958, allocations: 448.6 kB / 1.069 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.7958, allocations: 57.56 kB / 1.069 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.7962, allocations: 264.8 kB / 1.069 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.7962, allocations: 31.33 kB / 1.069 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.7963, allocations: 166.7 kB / 1.069 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.7964, allocations: 65.66 kB / 1.069 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.7964, allocations: 3.781 kB / 1.069 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7966, allocations: 336.7 kB / 1.07 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.7969, allocations: 122.9 kB / 1.07 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.7973, allocations: 171.4 kB / 1.07 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.7981, allocations: 303.7 kB / 1.07 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7981, allocations: 1.156 kB / 1.07 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008645/0.799, allocations: 348.9 kB / 1.071 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.799, allocations: 14.06 kB / 1.071 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.799, allocations: 1.969 kB / 1.071 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.799, allocations: 2.312 kB / 1.071 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.7994, allocations: 66.92 kB / 1.071 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.7994, allocations: 3.328 kB / 1.071 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.7997, allocations: 58.39 kB / 1.071 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.7997, allocations: 12.05 kB / 1.071 GB, free: 15.07 MB / 0.7136 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.0001715/0.7999, allocations: 147.9 kB / 1.071 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.8, allocations: 29 kB / 1.071 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009357/0.8009, allocations: 355.1 kB / 1.071 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.8009, allocations: 4.984 kB / 1.071 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.801, allocations: 0.9062 kB / 1.071 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.801, allocations: 3 kB / 1.071 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.8027, allocations: 0.9651 MB / 1.072 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.8027, allocations: 1.844 kB / 1.072 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.803, allocations: 65.44 kB / 1.072 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.803, allocations: 2.344 kB / 1.072 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.8031, allocations: 3.438 kB / 1.072 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.8031, allocations: 2.781 kB / 1.072 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8031, allocations: 3.422 kB / 1.072 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.8044, allocations: 0.6095 MB / 1.073 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.8045, allocations: 124.1 kB / 1.073 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.8046, allocations: 11.55 kB / 1.073 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.8048, allocations: 30.27 kB / 1.073 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.8049, allocations: 29.97 kB / 1.073 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.805, allocations: 12.5 kB / 1.073 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002039/0.8052, allocations: 190 kB / 1.073 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8052, allocations: 0 / 1.073 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005362/0.8057, allocations: 108.4 kB / 1.073 GB, free: 13.94 MB / 0.7136 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.0005283/0.8063, allocations: 199.4 kB / 1.074 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008503/0.8071, allocations: 289.2 kB / 1.074 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8071, allocations: 0.9375 kB / 1.074 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.8076, allocations: 154.7 kB / 1.074 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.8084, allocations: 124.4 kB / 1.074 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.8098, allocations: 0.7656 MB / 1.075 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.8102, allocations: 0.7762 MB / 1.076 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.8104, allocations: 29.39 kB / 1.076 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.8104, allocations: 1.031 kB / 1.076 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of Templates: time 0.01089/0.8213, allocations: 4.987 MB / 1.081 GB, free: 12.23 MB / 0.7136 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)