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.001252/0.001252, 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.00147/0.00147, allocations: 189.5 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 286.5 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9756/0.9756, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003114/0.003115, allocations: 86.97 kB / 0.5947 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2072, allocations: 86.99 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6432/0.8505, allocations: 179.4 MB / 0.8548 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00666/0.8572, allocations: 4.43 MB / 0.8591 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008399/0.8581, allocations: 18.41 kB / 0.8591 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007658/0.8589, allocations: 204.1 kB / 0.8593 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.8611, allocations: 0.7013 MB / 0.86 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.8649, allocations: 1.419 MB / 0.8614 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.8667, allocations: 1.262 MB / 0.8626 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.8673, allocations: 428.9 kB / 0.863 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.8684, allocations: 0.573 MB / 0.8636 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.8689, allocations: 431.3 kB / 0.864 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.869, allocations: 45.34 kB / 0.8641 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.8722, allocations: 1.611 MB / 0.8656 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.8725, allocations: 182.4 kB / 0.8658 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.8728, allocations: 301.8 kB / 0.8661 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.8758, allocations: 1.421 MB / 0.8675 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8758, allocations: 0 / 0.8675 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8758, allocations: 0 / 0.8675 GB, free: 432 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.8758, allocations: 0 / 0.8675 GB, free: 432 kB / 0.5762 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.001818/0.8777, allocations: 1.018 MB / 0.8685 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.8777, allocations: 10.22 kB / 0.8685 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.8797, allocations: 280.2 kB / 0.8688 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.8805, allocations: 446.9 kB / 0.8692 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.8805, allocations: 31.19 kB / 0.8692 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.8806, allocations: 41.78 kB / 0.8693 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.8817, allocations: 0.5477 MB / 0.8698 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.8817, allocations: 7.922 kB / 0.8698 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.8818, allocations: 21.52 kB / 0.8698 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.8818, allocations: 14.12 kB / 0.8698 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.8828, allocations: 454.3 kB / 0.8703 GB, free: 14.45 MB / 0.5919 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.002648/0.8854, allocations: 2.124 MB / 0.8723 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009354/0.8864, allocations: 402.6 kB / 0.8727 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.8869, allocations: 234.3 kB / 0.8729 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006939/0.8876, allocations: 395.9 kB / 0.8733 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006363/0.8882, allocations: 300.3 kB / 0.8736 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.876e-06/0.8882, allocations: 0 / 0.8736 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001819/0.89, allocations: 0.6847 MB / 0.8743 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.8901, allocations: 56.91 kB / 0.8743 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.8908, allocations: 495.9 kB / 0.8748 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.8908, allocations: 36.48 kB / 0.8748 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.8911, allocations: 263.4 kB / 0.8751 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.8913, allocations: 124.2 kB / 0.8752 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.8915, allocations: 94.09 kB / 0.8753 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.8917, allocations: 359.1 kB / 0.8756 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.8922, allocations: 199.8 kB / 0.8758 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.8929, allocations: 326.8 kB / 0.8761 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.894, allocations: 0.5405 MB / 0.8767 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.894, allocations: 6.281 kB / 0.8767 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001561/0.8956, allocations: 0.6465 MB / 0.8773 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.8957, allocations: 71.55 kB / 0.8774 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.8958, allocations: 2.594 kB / 0.8774 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/0.8958, allocations: 4.312 kB / 0.8774 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.8963, allocations: 99.38 kB / 0.8775 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.8964, allocations: 5.906 kB / 0.8775 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008202/0.8972, allocations: 86.73 kB / 0.8776 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.8973, allocations: 22.61 kB / 0.8776 GB, free: 8.98 MB / 0.5919 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.0003881/0.8977, allocations: 199 kB / 0.8778 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.8978, allocations: 56.56 kB / 0.8778 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.8994, allocations: 0.535 MB / 0.8784 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.8994, allocations: 3.219 kB / 0.8784 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.8994, allocations: 0 / 0.8784 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.8994, allocations: 0 / 0.8784 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.9023, allocations: 1.348 MB / 0.8797 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.9024, allocations: 4.875 kB / 0.8797 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.9028, allocations: 80.92 kB / 0.8798 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.9028, allocations: 9.219 kB / 0.8798 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.9029, allocations: 15.67 kB / 0.8798 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.9029, allocations: 4.844 kB / 0.8798 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.9029, allocations: 5.281 kB / 0.8798 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.9047, allocations: 0.9382 MB / 0.8807 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.9051, allocations: 174.8 kB / 0.8809 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.9053, allocations: 14.56 kB / 0.8809 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.9058, allocations: 42.14 kB / 0.8809 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.906, allocations: 63.62 kB / 0.881 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.906, allocations: 16.78 kB / 0.881 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005165/0.9065, allocations: 341.5 kB / 0.8813 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9065, allocations: 0 / 0.8813 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007898/0.9073, allocations: 153.3 kB / 0.8815 GB, free: 6.387 MB / 0.5919 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.0006532/0.908, allocations: 207.1 kB / 0.8817 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.9094, allocations: 0.5895 MB / 0.8822 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9094, allocations: 4.062 kB / 0.8822 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007335/0.9102, allocations: 287 kB / 0.8825 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.9116, allocations: 288.7 kB / 0.8828 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.9139, allocations: 1.208 MB / 0.884 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.9145, allocations: 0.868 MB / 0.8848 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006612/0.9151, allocations: 128.7 kB / 0.8849 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.9153, allocations: 43.81 kB / 0.885 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.9153, allocations: 0 / 0.885 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of Templates: time 0.02192/0.9372, allocations: 10.61 MB / 0.8953 GB, free: 10.33 MB / 0.6075 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)