Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009559, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01/0.01, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.646/1.646, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6259/0.6259, allocations: 95.62 MB / 366.4 MB, free: 10.23 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005873/0.0005873, allocations: 16.61 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4264, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5904/1.017, allocations: 191.4 MB / 0.6926 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006939/1.024, allocations: 3.669 MB / 0.6962 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/1.025, allocations: 15.44 kB / 0.6962 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/1.026, allocations: 285.5 kB / 0.6964 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/1.029, allocations: 496.1 kB / 0.6969 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006992/1.036, allocations: 1.89 MB / 0.6988 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003265/1.039, allocations: 2.206 MB / 0.7009 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/1.04, allocations: 447.3 kB / 0.7013 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/1.042, allocations: 0.5924 MB / 0.7019 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/1.043, allocations: 0.5425 MB / 0.7025 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/1.044, allocations: 32.56 kB / 0.7025 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/1.048, allocations: 2.229 MB / 0.7047 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/1.049, allocations: 267.8 kB / 0.7049 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005673/1.049, allocations: 412.1 kB / 0.7053 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/1.054, allocations: 2.121 MB / 0.7074 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.054, allocations: 0 / 0.7074 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/1.054, allocations: 0 / 0.7074 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.054, allocations: 0 / 0.7074 GB, free: 4.918 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002519/1.056, allocations: 1.128 MB / 0.7085 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.056, allocations: 14.86 kB / 0.7085 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003549/1.057, allocations: 89.39 kB / 0.7086 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/1.058, allocations: 484.2 kB / 0.709 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/1.058, allocations: 44.38 kB / 0.7091 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/1.058, allocations: 56.84 kB / 0.7091 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/1.059, allocations: 0.8176 MB / 0.7099 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/1.059, allocations: 3.875 kB / 0.7099 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/1.059, allocations: 30.91 kB / 0.71 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/1.059, allocations: 13.28 kB / 0.71 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/1.061, allocations: 0.7758 MB / 0.7107 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/1.065, allocations: 3.467 MB / 0.7141 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/1.066, allocations: 332 kB / 0.7144 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/1.066, allocations: 219.7 kB / 0.7147 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009315/1.067, allocations: 0.817 MB / 0.7155 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000832/1.068, allocations: 0.5167 MB / 0.716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 2.515e-06/1.068, allocations: 0 / 0.716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.001765/1.07, allocations: 0.7647 MB / 0.7167 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003535/1.07, allocations: 0.779 MB / 0.7175 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/1.071, allocations: 0.6554 MB / 0.7181 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/1.071, allocations: 38.33 kB / 0.7181 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/1.071, allocations: 336.5 kB / 0.7185 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/1.071, allocations: 130.3 kB / 0.7186 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/1.071, allocations: 54.28 kB / 0.7186 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.072, allocations: 370.7 kB / 0.719 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/1.072, allocations: 245.8 kB / 0.7192 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/1.073, allocations: 0.4926 MB / 0.7197 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.074, allocations: 0.6644 MB / 0.7204 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.074, allocations: 4 kB / 0.7204 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001522/1.076, allocations: 0.7919 MB / 0.7211 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/1.076, allocations: 33.58 kB / 0.7212 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.076, allocations: 9.875 kB / 0.7212 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.076, allocations: 9.297 kB / 0.7212 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/1.076, allocations: 154.6 kB / 0.7213 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.076, allocations: 15.97 kB / 0.7213 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/1.077, allocations: 127.6 kB / 0.7215 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/1.077, allocations: 29.7 kB / 0.7215 GB, free: 10.24 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 (m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0004042/1.078, allocations: 230 kB / 0.7217 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.078, allocations: 70.03 kB / 0.7218 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/1.079, allocations: 0.6711 MB / 0.7224 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.079, allocations: 5.719 kB / 0.7224 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/1.079, allocations: 13.91 kB / 0.7225 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.079, allocations: 5.922 kB / 0.7225 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/1.081, allocations: 1.368 MB / 0.7238 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.081, allocations: 7.469 kB / 0.7238 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/1.081, allocations: 86.88 kB / 0.7239 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/1.081, allocations: 4.875 kB / 0.7239 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/1.081, allocations: 16.22 kB / 0.7239 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.081, allocations: 5.844 kB / 0.7239 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.081, allocations: 2.938 kB / 0.7239 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.083, allocations: 0.9195 MB / 0.7248 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/1.083, allocations: 267.8 kB / 0.7251 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.083, allocations: 12 kB / 0.7251 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/1.084, allocations: 56.02 kB / 0.7251 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.084, allocations: 53.67 kB / 0.7252 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/1.084, allocations: 12 kB / 0.7252 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008677/1.085, allocations: 0.6083 MB / 0.7258 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.085, allocations: 0 / 0.7258 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001632/1.087, allocations: 447.5 kB / 0.7262 GB, free: 5.996 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (temDyn.T) * Number of discrete variables: 3 ($whenCondition1,m_flow.T_start,m_flow.count) * Number of discrete states: 1 (m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.001257/1.088, allocations: 0.5148 MB / 0.7267 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001414/1.089, allocations: 0.6248 MB / 0.7273 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.089, allocations: 4 kB / 0.7273 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006391/1.09, allocations: 287 kB / 0.7276 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.092, allocations: 397.6 kB / 0.728 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/1.095, allocations: 1.6 MB / 0.7295 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/1.095, allocations: 0.9381 MB / 0.7305 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006528/1.096, allocations: 165.8 kB / 0.7306 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.096, allocations: 67.42 kB / 0.7307 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/1.096, allocations: 1.75 kB / 0.7307 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of Templates: time 0.03433/1.13, allocations: 20.76 MB / 0.751 GB, free: 12.73 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: