Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001066/0.001065, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001162/0.001162, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.677/1.677, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 70.48 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2843, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8118/1.096, allocations: 179.4 MB / 0.958 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007912/1.104, allocations: 4.428 MB / 0.9624 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/1.105, allocations: 15.69 kB / 0.9624 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007645/1.106, allocations: 200.4 kB / 0.9626 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002303/1.108, allocations: 0.7109 MB / 0.9633 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005208/1.114, allocations: 1.415 MB / 0.9646 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001906/1.116, allocations: 1.268 MB / 0.9659 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006313/1.116, allocations: 426.1 kB / 0.9663 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/1.117, allocations: 0.5866 MB / 0.9669 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005564/1.118, allocations: 424.3 kB / 0.9673 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/1.118, allocations: 45.41 kB / 0.9673 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/1.121, allocations: 1.598 MB / 0.9689 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/1.122, allocations: 192.5 kB / 0.969 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000383/1.122, allocations: 305.3 kB / 0.9693 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/1.124, allocations: 1.408 MB / 0.9707 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.124, allocations: 6.438 kB / 0.9707 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.073e-06/1.124, allocations: 0.9062 kB / 0.9707 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.788e-06/1.124, allocations: 0 / 0.9707 GB, free: 5.242 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001997/1.126, allocations: 1.026 MB / 0.9717 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.127, allocations: 8.781 kB / 0.9717 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/1.129, allocations: 288 kB / 0.972 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/1.129, allocations: 445.3 kB / 0.9724 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/1.129, allocations: 32.5 kB / 0.9725 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/1.129, allocations: 44.25 kB / 0.9725 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/1.13, allocations: 0.5477 MB / 0.973 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.13, allocations: 1.469 kB / 0.973 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/1.13, allocations: 14.34 kB / 0.9731 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/1.13, allocations: 13.84 kB / 0.9731 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/1.131, allocations: 461.9 kB / 0.9735 GB, free: 20.13 MB / 0.7481 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.002481/1.134, allocations: 2.117 MB / 0.9756 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009394/1.135, allocations: 407.5 kB / 0.976 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/1.135, allocations: 228.4 kB / 0.9762 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/1.136, allocations: 396.4 kB / 0.9766 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000601/1.137, allocations: 310.6 kB / 0.9769 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 2.385e-06/1.137, allocations: 1.438 kB / 0.9769 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001733/1.138, allocations: 0.6851 MB / 0.9775 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/1.138, allocations: 56.09 kB / 0.9776 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/1.139, allocations: 494.9 kB / 0.978 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/1.139, allocations: 36.14 kB / 0.9781 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/1.139, allocations: 265.1 kB / 0.9783 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.139, allocations: 123.4 kB / 0.9785 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/1.14, allocations: 92.34 kB / 0.9785 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.14, allocations: 367.2 kB / 0.9789 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/1.14, allocations: 192.2 kB / 0.9791 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/1.141, allocations: 317.7 kB / 0.9794 GB, free: 17.44 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009923/1.142, allocations: 0.5425 MB / 0.9799 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.142, allocations: 1.094 kB / 0.9799 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001241/1.143, allocations: 0.6514 MB / 0.9805 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/1.143, allocations: 68.38 kB / 0.9806 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.143, allocations: 6.125 kB / 0.9806 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.143, allocations: 4.125 kB / 0.9806 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/1.144, allocations: 101.4 kB / 0.9807 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.144, allocations: 5.062 kB / 0.9807 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/1.144, allocations: 90.56 kB / 0.9808 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/1.144, allocations: 19.56 kB / 0.9808 GB, free: 17.02 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0003357/1.145, allocations: 195.2 kB / 0.981 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/1.145, allocations: 57.22 kB / 0.9811 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/1.146, allocations: 0.5376 MB / 0.9816 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/1.146, allocations: 5.031 kB / 0.9816 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/1.146, allocations: 0 / 0.9816 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/1.146, allocations: 2.531 kB / 0.9816 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/1.148, allocations: 1.35 MB / 0.9829 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.148, allocations: 2.688 kB / 0.9829 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/1.149, allocations: 81.22 kB / 0.983 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.149, allocations: 12.19 kB / 0.983 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/1.149, allocations: 7.719 kB / 0.983 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.149, allocations: 7.5 kB / 0.983 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.149, allocations: 5.344 kB / 0.983 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/1.15, allocations: 0.933 MB / 0.9839 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/1.151, allocations: 173.9 kB / 0.9841 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/1.151, allocations: 15.38 kB / 0.9841 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.151, allocations: 43.52 kB / 0.9842 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.151, allocations: 52.78 kB / 0.9842 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/1.151, allocations: 18.38 kB / 0.9842 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003867/1.152, allocations: 348.5 kB / 0.9846 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.152, allocations: 3.938 kB / 0.9846 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006385/1.152, allocations: 153.8 kB / 0.9847 GB, free: 15.84 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004893/1.153, allocations: 197.4 kB / 0.9849 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00124/1.154, allocations: 0.5919 MB / 0.9855 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.154, allocations: 0.75 kB / 0.9855 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006162/1.155, allocations: 290.9 kB / 0.9858 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/1.156, allocations: 289.8 kB / 0.986 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/1.158, allocations: 1.216 MB / 0.9872 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/1.159, allocations: 0.8624 MB / 0.9881 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000576/1.159, allocations: 124.2 kB / 0.9882 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/1.159, allocations: 48.66 kB / 0.9882 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/1.159, allocations: 0 / 0.9882 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.01914/1.178, allocations: 10.61 MB / 0.9986 GB, free: 11.75 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)