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.001717/0.001717, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002025/0.002025, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002816/0.002816, allocations: 282.9 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.507 GB, free: 4.684 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 104.1 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1875, allocations: 89.15 MB / 0.693 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5276/0.7152, allocations: 179.4 MB / 0.8682 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006812/0.7221, allocations: 4.426 MB / 0.8725 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007013/0.7228, allocations: 17.66 kB / 0.8725 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.7236, allocations: 208 kB / 0.8727 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.726, allocations: 0.7013 MB / 0.8734 GB, free: 452 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.7301, allocations: 1.421 MB / 0.8748 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.7319, allocations: 1.266 MB / 0.876 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.7326, allocations: 425 kB / 0.8764 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.7337, allocations: 0.5774 MB / 0.877 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.7342, allocations: 429.2 kB / 0.8774 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.7343, allocations: 45.38 kB / 0.8774 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.7373, allocations: 1.597 MB / 0.879 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.7376, allocations: 194.9 kB / 0.8792 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.7379, allocations: 304.8 kB / 0.8795 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.7405, allocations: 1.414 MB / 0.8808 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7405, allocations: 0 / 0.8808 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7405, allocations: 0 / 0.8808 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.7405, allocations: 0 / 0.8808 GB, free: 11.71 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.002172/0.7427, allocations: 1.014 MB / 0.8818 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7428, allocations: 8.031 kB / 0.8818 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.745, allocations: 286.9 kB / 0.8821 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009206/0.7459, allocations: 441.5 kB / 0.8825 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.746, allocations: 29 kB / 0.8826 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.7461, allocations: 48 kB / 0.8826 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.7473, allocations: 0.5468 MB / 0.8831 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.7474, allocations: 3.938 kB / 0.8831 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.7474, allocations: 19.98 kB / 0.8832 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.7474, allocations: 15.94 kB / 0.8832 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.7486, allocations: 455.6 kB / 0.8836 GB, free: 8.738 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.003057/0.7516, allocations: 2.123 MB / 0.8857 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.7527, allocations: 402.4 kB / 0.8861 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/0.7533, allocations: 232.7 kB / 0.8863 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.7541, allocations: 396.3 kB / 0.8867 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006793/0.7548, allocations: 299.2 kB / 0.887 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 4.929e-06/0.7548, allocations: 3.984 kB / 0.887 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.002022/0.7568, allocations: 0.6837 MB / 0.8876 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.7569, allocations: 63.39 kB / 0.8877 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.7577, allocations: 498 kB / 0.8882 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.7578, allocations: 37.7 kB / 0.8882 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.7581, allocations: 260.1 kB / 0.8884 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.7583, allocations: 122.3 kB / 0.8886 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.7585, allocations: 90.02 kB / 0.8886 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.7588, allocations: 366.8 kB / 0.889 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.7593, allocations: 188.8 kB / 0.8892 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.76, allocations: 324 kB / 0.8895 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.7612, allocations: 0.5415 MB / 0.89 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.7612, allocations: 8 kB / 0.89 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001538/0.7628, allocations: 0.6481 MB / 0.8907 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.7629, allocations: 63.39 kB / 0.8907 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7629, allocations: 4.562 kB / 0.8907 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.7629, allocations: 4 kB / 0.8907 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.7634, allocations: 103.8 kB / 0.8908 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.7634, allocations: 4 kB / 0.8908 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.7642, allocations: 90.7 kB / 0.8909 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.7642, allocations: 23.98 kB / 0.8909 GB, free: 0.8281 MB / 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.0003664/0.7646, allocations: 194.6 kB / 0.8911 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7648, allocations: 55.28 kB / 0.8912 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.7662, allocations: 0.5362 MB / 0.8917 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.7662, allocations: 4 kB / 0.8917 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7662, allocations: 0 / 0.8917 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7662, allocations: 0 / 0.8917 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.769, allocations: 1.346 MB / 0.893 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.769, allocations: 4 kB / 0.893 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.7694, allocations: 80.27 kB / 0.8931 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.7695, allocations: 4 kB / 0.8931 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.7695, allocations: 20.98 kB / 0.8931 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.7695, allocations: 7.938 kB / 0.8931 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7695, allocations: 4 kB / 0.8931 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.7715, allocations: 0.9364 MB / 0.894 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.7718, allocations: 180.3 kB / 0.8942 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7719, allocations: 12 kB / 0.8942 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.7724, allocations: 43.86 kB / 0.8943 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.7726, allocations: 55.88 kB / 0.8943 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.7726, allocations: 17.94 kB / 0.8943 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005015/0.7731, allocations: 342.8 kB / 0.8947 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7732, allocations: 0 / 0.8947 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006966/0.7739, allocations: 151.8 kB / 0.8948 GB, free: 12.66 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.0005716/0.7744, allocations: 198.5 kB / 0.895 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.7759, allocations: 0.5885 MB / 0.8956 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7759, allocations: 4 kB / 0.8956 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.7767, allocations: 285.4 kB / 0.8959 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.7783, allocations: 295.5 kB / 0.8961 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.7807, allocations: 1.214 MB / 0.8973 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.7814, allocations: 0.8665 MB / 0.8982 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006342/0.782, allocations: 128.7 kB / 0.8983 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.7822, allocations: 47.44 kB / 0.8983 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of SimCode: time 1.103e-06/0.7822, allocations: 0 / 0.8983 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of Templates: time 0.02294/0.8051, allocations: 10.6 MB / 0.9087 GB, free: 14.52 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)