Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5562/0.5562, allocations: 94.78 MB / 102.2 MB, free: 10.14 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001416/0.001416, allocations: 176.7 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.796/1.796, allocations: 170.6 MB / 319.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001798/0.001798, allocations: 100.1 kB / 381.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.221e-05, allocations: 8 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1777, allocations: 61.52 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.23/14.41, allocations: 4.471 GB / 4.97 GB, free: 69.78 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/14.41, allocations: 85.08 kB / 4.97 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8638/15.27, allocations: 209.4 MB / 5.174 GB, free: 79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.276e-06/15.27, allocations: 224 / 5.174 GB, free: 79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.967e-05/15.27, allocations: 19.94 kB / 5.174 GB, free: 78.98 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003593/15.27, allocations: 1.062 MB / 5.175 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/15.27, allocations: 8.031 kB / 5.175 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008578/15.28, allocations: 99.05 kB / 5.175 GB, free: 77.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/15.28, allocations: 0.4989 MB / 5.176 GB, free: 77.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/15.28, allocations: 20 kB / 5.176 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/15.28, allocations: 40 kB / 5.176 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/15.28, allocations: 0.8433 MB / 5.177 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/15.28, allocations: 0.734 MB / 5.177 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/15.28, allocations: 0 / 5.177 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/15.28, allocations: 4 kB / 5.177 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/15.28, allocations: 16 kB / 5.177 GB, free: 75.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/15.28, allocations: 2.759 MB / 5.18 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/15.29, allocations: 0.638 MB / 5.181 GB, free: 72.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/15.29, allocations: 298.9 kB / 5.181 GB, free: 71.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004672/15.29, allocations: 384.8 kB / 5.181 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/15.29, allocations: 51.3 kB / 5.181 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=66): time 3.366e-06/15.29, allocations: 0 / 5.181 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66): time 0.001557/15.29, allocations: 0.6623 MB / 5.182 GB, free: 70.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/15.29, allocations: 63.92 kB / 5.182 GB, free: 70.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/15.29, allocations: 337.1 kB / 5.182 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.092e-05/15.29, allocations: 29.7 kB / 5.183 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/15.29, allocations: 311.8 kB / 5.183 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/15.29, allocations: 216.7 kB / 5.183 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/15.29, allocations: 4 kB / 5.183 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001052/15.29, allocations: 354.8 kB / 5.183 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/15.29, allocations: 237.5 kB / 5.184 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/15.29, allocations: 355.3 kB / 5.184 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/15.29, allocations: 420.2 kB / 5.184 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/15.29, allocations: 4 kB / 5.184 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001705/15.29, allocations: 0.8273 MB / 5.185 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/15.29, allocations: 8 kB / 5.185 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/15.29, allocations: 0 / 5.185 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/15.29, allocations: 8.375 kB / 5.185 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/15.29, allocations: 266.6 kB / 5.185 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/15.3, allocations: 1.867 MB / 5.187 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/15.3, allocations: 91.47 kB / 5.187 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/15.3, allocations: 27.98 kB / 5.187 GB, free: 65.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000232/15.3, allocations: 116.9 kB / 5.187 GB, free: 64.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/15.3, allocations: 59.34 kB / 5.188 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/15.3, allocations: 0.8721 MB / 5.188 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/15.3, allocations: 8 kB / 5.188 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/15.3, allocations: 0 / 5.188 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/15.3, allocations: 3.984 kB / 5.188 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/15.3, allocations: 1.461 MB / 5.19 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/15.3, allocations: 7.984 kB / 5.19 GB, free: 62.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/15.3, allocations: 231.8 kB / 5.19 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/15.3, allocations: 8 kB / 5.19 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/15.3, allocations: 8 kB / 5.19 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009073/15.3, allocations: 1.867 MB / 5.192 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/15.3, allocations: 0 / 5.192 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/15.3, allocations: 1.23 MB / 5.193 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/15.31, allocations: 248.2 kB / 5.193 GB, free: 58.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/15.31, allocations: 0 / 5.193 GB, free: 58.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/15.31, allocations: 59.91 kB / 5.193 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/15.31, allocations: 52.7 kB / 5.193 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/15.31, allocations: 43.92 kB / 5.193 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002734/15.31, allocations: 270.9 kB / 5.194 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/15.31, allocations: 0 / 5.194 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001822/15.31, allocations: 471.2 kB / 5.194 GB, free: 57.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003032/15.31, allocations: 1.184 MB / 5.195 GB, free: 56.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002013/15.31, allocations: 0.7039 MB / 5.196 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/15.31, allocations: 192 / 5.196 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/15.31, allocations: 423.7 kB / 5.196 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/15.32, allocations: 281.2 kB / 5.197 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/15.32, allocations: 1.002 MB / 5.198 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/15.32, allocations: 0.9478 MB / 5.199 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009668/15.32, allocations: 172.6 kB / 5.199 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/15.32, allocations: 67.42 kB / 5.199 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/15.32, allocations: 0 / 5.199 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.03163/15.35, allocations: 19.93 MB / 5.218 GB, free: 33.41 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)