Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001886/0.001893, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002098/0.002098, allocations: 193 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002698/0.002698, allocations: 290.9 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 99.58 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1897, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5491/0.7389, allocations: 179.5 MB / 0.8681 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006782/0.7457, allocations: 4.477 MB / 0.8725 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.7466, allocations: 20.47 kB / 0.8725 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.7474, allocations: 195.1 kB / 0.8727 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.7496, allocations: 0.7168 MB / 0.8734 GB, free: 160 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.7535, allocations: 1.406 MB / 0.8748 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.7554, allocations: 1.678 MB / 0.8764 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005785/0.756, allocations: 382 kB / 0.8768 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.757, allocations: 0.5267 MB / 0.8773 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.7576, allocations: 418.9 kB / 0.8777 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.7576, allocations: 29.91 kB / 0.8777 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.7611, allocations: 1.81 MB / 0.8795 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.7613, allocations: 177.8 kB / 0.8796 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.7617, allocations: 282.7 kB / 0.8799 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.7641, allocations: 1.388 MB / 0.8813 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7642, allocations: 0 / 0.8813 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7642, allocations: 0 / 0.8813 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.7642, allocations: 4 kB / 0.8813 GB, free: 11.16 MB / 0.6075 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.002047/0.7662, allocations: 1.023 MB / 0.8823 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.7663, allocations: 8.031 kB / 0.8823 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.7685, allocations: 286.9 kB / 0.8826 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.7693, allocations: 441.5 kB / 0.883 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.7694, allocations: 30.38 kB / 0.883 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.7695, allocations: 44 kB / 0.883 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.7706, allocations: 0.5468 MB / 0.8836 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.7706, allocations: 3.938 kB / 0.8836 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.7707, allocations: 19.98 kB / 0.8836 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.7707, allocations: 15.94 kB / 0.8836 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.7719, allocations: 455.6 kB / 0.8841 GB, free: 8.18 MB / 0.6075 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.002872/0.7747, allocations: 2.119 MB / 0.8861 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.7758, allocations: 406.5 kB / 0.8865 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.7764, allocations: 228.7 kB / 0.8867 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009263/0.7774, allocations: 400.3 kB / 0.8871 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000724/0.7781, allocations: 299.2 kB / 0.8874 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.235e-06/0.7781, allocations: 0 / 0.8874 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.002026/0.7801, allocations: 0.6837 MB / 0.8881 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.7802, allocations: 55.41 kB / 0.8881 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/0.7809, allocations: 0.4902 MB / 0.8886 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.781, allocations: 29.7 kB / 0.8886 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.7812, allocations: 268.1 kB / 0.8889 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.7814, allocations: 122.2 kB / 0.889 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.7815, allocations: 98.02 kB / 0.8891 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.7817, allocations: 370.7 kB / 0.8894 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.7823, allocations: 192.8 kB / 0.8896 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.7829, allocations: 324.1 kB / 0.8899 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.784, allocations: 0.5415 MB / 0.8905 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.784, allocations: 1.875 kB / 0.8905 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001398/0.7854, allocations: 0.6479 MB / 0.8911 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.7855, allocations: 67.39 kB / 0.8912 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.7855, allocations: 4.375 kB / 0.8912 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.7855, allocations: 8 kB / 0.8912 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.786, allocations: 99.81 kB / 0.8913 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.7861, allocations: 6.188 kB / 0.8913 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.7867, allocations: 83.39 kB / 0.8914 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.7867, allocations: 27.98 kB / 0.8914 GB, free: 280 kB / 0.6075 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.0002527/0.787, allocations: 194.4 kB / 0.8916 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.7871, allocations: 55.28 kB / 0.8916 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.7884, allocations: 0.5317 MB / 0.8921 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.7885, allocations: 4 kB / 0.8921 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.7885, allocations: 0 / 0.8921 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.7885, allocations: 0 / 0.8921 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.791, allocations: 1.35 MB / 0.8935 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.791, allocations: 5.5 kB / 0.8935 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.7915, allocations: 83.77 kB / 0.8935 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.7915, allocations: 4 kB / 0.8935 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.7915, allocations: 16.42 kB / 0.8936 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.7915, allocations: 8 kB / 0.8936 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7915, allocations: 4 kB / 0.8936 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.7934, allocations: 0.9325 MB / 0.8945 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.7936, allocations: 180.3 kB / 0.8947 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.7937, allocations: 12 kB / 0.8947 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.7942, allocations: 51.92 kB / 0.8947 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.7944, allocations: 47.88 kB / 0.8948 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.7944, allocations: 12.56 kB / 0.8948 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004519/0.7949, allocations: 350.8 kB / 0.8951 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7949, allocations: 3.938 kB / 0.8951 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005973/0.7955, allocations: 147.8 kB / 0.8953 GB, free: 12.11 MB / 0.6231 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.0004872/0.796, allocations: 208.9 kB / 0.8955 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.7973, allocations: 0.5762 MB / 0.896 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7973, allocations: 0.75 kB / 0.896 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.7981, allocations: 293.7 kB / 0.8963 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.7995, allocations: 271.8 kB / 0.8966 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.8016, allocations: 1.216 MB / 0.8977 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.8021, allocations: 0.8706 MB / 0.8986 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005034/0.8027, allocations: 124.7 kB / 0.8987 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.8028, allocations: 47.38 kB / 0.8988 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of SimCode: time 3.8e-07/0.8028, allocations: 0 / 0.8988 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of Templates: time 0.02153/0.8244, allocations: 10.19 MB / 0.9087 GB, free: 14.37 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)