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.0009651/0.000965, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001351/0.001352, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.6234/0.6234, allocations: 95.63 MB / 366 MB, free: 10.33 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.0006288/0.000629, allocations: 16 kB / 446.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4459, allocations: 70.34 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6477/1.094, allocations: 178.3 MB / 0.6792 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00708/1.101, allocations: 3.477 MB / 0.6826 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/1.102, allocations: 20.25 kB / 0.6826 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/1.104, allocations: 231.4 kB / 0.6828 GB, free: 15.57 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002021/1.106, allocations: 494.4 kB / 0.6833 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007006/1.113, allocations: 1.443 MB / 0.6847 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003739/1.116, allocations: 1.865 MB / 0.6865 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/1.118, allocations: 426.7 kB / 0.687 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/1.12, allocations: 0.5803 MB / 0.6875 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/1.121, allocations: 0.5261 MB / 0.688 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/1.121, allocations: 33.31 kB / 0.6881 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004145/1.125, allocations: 1.182 MB / 0.6892 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/1.126, allocations: 251.2 kB / 0.6895 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/1.126, allocations: 174.6 kB / 0.6896 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/1.129, allocations: 1.312 MB / 0.6909 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.129, allocations: 0 / 0.6909 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/1.129, allocations: 0 / 0.6909 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.008e-05/1.129, allocations: 2.969 kB / 0.6909 GB, free: 13.18 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.00262/1.132, allocations: 1.127 MB / 0.692 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.132, allocations: 15.27 kB / 0.692 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/1.132, allocations: 88.86 kB / 0.6921 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/1.133, allocations: 481.6 kB / 0.6926 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/1.133, allocations: 47.58 kB / 0.6926 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/1.133, allocations: 60.19 kB / 0.6927 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/1.134, allocations: 0.8073 MB / 0.6935 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/1.134, allocations: 1.859 kB / 0.6935 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/1.134, allocations: 22.47 kB / 0.6935 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/1.135, allocations: 15.47 kB / 0.6935 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/1.136, allocations: 0.779 MB / 0.6943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005081/1.141, allocations: 3.454 MB / 0.6976 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/1.142, allocations: 328.3 kB / 0.6979 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/1.142, allocations: 223.9 kB / 0.6982 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009851/1.143, allocations: 0.8183 MB / 0.699 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009129/1.144, allocations: 0.5092 MB / 0.6995 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 3.777e-06/1.144, allocations: 2.875 kB / 0.6995 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001727/1.146, allocations: 0.7605 MB / 0.7002 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004409/1.146, allocations: 0.7796 MB / 0.701 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/1.147, allocations: 0.6558 MB / 0.7016 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/1.147, allocations: 35.42 kB / 0.7016 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/1.148, allocations: 334.7 kB / 0.702 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/1.148, allocations: 132 kB / 0.7021 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/1.148, allocations: 12.31 kB / 0.7021 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.148, allocations: 373.2 kB / 0.7025 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/1.148, allocations: 243.9 kB / 0.7027 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/1.149, allocations: 0.4989 MB / 0.7032 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/1.15, allocations: 330.3 kB / 0.7035 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.15, allocations: 1.75 kB / 0.7035 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001451/1.151, allocations: 0.7771 MB / 0.7042 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/1.151, allocations: 41.31 kB / 0.7043 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.151, allocations: 4.938 kB / 0.7043 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/1.151, allocations: 11.12 kB / 0.7043 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/1.152, allocations: 145.7 kB / 0.7044 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/1.152, allocations: 12.62 kB / 0.7045 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/1.153, allocations: 128.1 kB / 0.7046 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/1.153, allocations: 31.95 kB / 0.7046 GB, free: 4.512 MB / 0.4981 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 ($whenCondition1,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003562/1.153, allocations: 221.4 kB / 0.7048 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.153, allocations: 81.69 kB / 0.7049 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/1.155, allocations: 0.6951 MB / 0.7056 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/1.155, allocations: 7.969 kB / 0.7056 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.155, allocations: 2.906 kB / 0.7056 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.155, allocations: 7.109 kB / 0.7056 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/1.156, allocations: 1.372 MB / 0.7069 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.157, allocations: 5.125 kB / 0.7069 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/1.157, allocations: 82.83 kB / 0.707 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/1.157, allocations: 5.812 kB / 0.707 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/1.157, allocations: 20.39 kB / 0.707 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/1.157, allocations: 5.031 kB / 0.707 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.157, allocations: 2.938 kB / 0.707 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/1.158, allocations: 0.9263 MB / 0.708 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/1.159, allocations: 256 kB / 0.7082 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.159, allocations: 19.02 kB / 0.7082 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/1.16, allocations: 51.64 kB / 0.7083 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.16, allocations: 50.77 kB / 0.7083 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/1.16, allocations: 17.06 kB / 0.7083 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006975/1.16, allocations: 0.6019 MB / 0.7089 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.16, allocations: 0 / 0.7089 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001419/1.162, allocations: 444.2 kB / 0.7093 GB, free: 2.25 MB / 0.4981 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 (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.001003/1.163, allocations: 0.5087 MB / 0.7098 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.164, allocations: 0.6139 MB / 0.7104 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.164, allocations: 2.906 kB / 0.7104 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006849/1.165, allocations: 283.9 kB / 0.7107 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/1.166, allocations: 393.1 kB / 0.7111 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/1.169, allocations: 1.547 MB / 0.7126 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007725/1.17, allocations: 0.9447 MB / 0.7135 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006853/1.17, allocations: 153.2 kB / 0.7137 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/1.171, allocations: 66.58 kB / 0.7137 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of SimCode: time 1.933e-06/1.171, allocations: 0 / 0.7137 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.03652/1.207, allocations: 20.03 MB / 0.7333 GB, free: 13.13 MB / 0.5294 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: