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.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002182, allocations: 278.6 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9578/0.9578, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 99.8 kB / 0.5952 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1679, allocations: 86.98 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5162/0.6841, allocations: 181.8 MB / 0.8577 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005789/0.69, allocations: 4.441 MB / 0.862 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.6906, allocations: 19.94 kB / 0.862 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006638/0.6913, allocations: 248 kB / 0.8623 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.6931, allocations: 0.764 MB / 0.863 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.6968, allocations: 1.509 MB / 0.8645 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.6983, allocations: 1.263 MB / 0.8657 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005355/0.6988, allocations: 447 kB / 0.8662 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008789/0.6997, allocations: 0.5669 MB / 0.8667 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.7001, allocations: 409.2 kB / 0.8671 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.7002, allocations: 44.75 kB / 0.8671 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.7028, allocations: 1.537 MB / 0.8686 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.703, allocations: 194.5 kB / 0.8688 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.7033, allocations: 305.2 kB / 0.8691 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.7053, allocations: 1.299 MB / 0.8704 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7053, allocations: 0 / 0.8704 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7054, allocations: 0 / 0.8704 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7054, allocations: 0 / 0.8704 GB, free: 14.16 MB / 0.5919 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.001697/0.7071, allocations: 1.025 MB / 0.8714 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.7071, allocations: 10.19 kB / 0.8714 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.7091, allocations: 281.3 kB / 0.8717 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.7097, allocations: 443.5 kB / 0.8721 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.7098, allocations: 30.84 kB / 0.8721 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.7099, allocations: 42.09 kB / 0.8722 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/0.7109, allocations: 0.5518 MB / 0.8727 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.7109, allocations: 0 / 0.8727 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.711, allocations: 14.28 kB / 0.8727 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.711, allocations: 18.25 kB / 0.8727 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.712, allocations: 456.8 kB / 0.8732 GB, free: 12.19 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.002629/0.7147, allocations: 2.134 MB / 0.8753 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.7157, allocations: 409.5 kB / 0.8756 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.7161, allocations: 221.6 kB / 0.8759 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/0.7168, allocations: 403.7 kB / 0.8762 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/0.7174, allocations: 289.5 kB / 0.8765 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.715e-06/0.7175, allocations: 0 / 0.8765 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001832/0.7193, allocations: 0.6918 MB / 0.8772 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.7194, allocations: 60.16 kB / 0.8772 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.7199, allocations: 0.4899 MB / 0.8777 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.7199, allocations: 34.58 kB / 0.8778 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.7201, allocations: 267.5 kB / 0.878 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.7202, allocations: 118 kB / 0.8781 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.7204, allocations: 94 kB / 0.8782 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7205, allocations: 359 kB / 0.8786 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.721, allocations: 208.3 kB / 0.8788 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.7215, allocations: 311 kB / 0.8791 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009509/0.7225, allocations: 0.5431 MB / 0.8796 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7225, allocations: 2.188 kB / 0.8796 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001218/0.7237, allocations: 0.648 MB / 0.8802 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.7238, allocations: 68.67 kB / 0.8803 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7238, allocations: 2.375 kB / 0.8803 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.7238, allocations: 7.688 kB / 0.8803 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.7243, allocations: 94.53 kB / 0.8804 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.7243, allocations: 9.062 kB / 0.8804 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.7248, allocations: 74.92 kB / 0.8805 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.7249, allocations: 21.78 kB / 0.8805 GB, free: 6.73 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.0002087/0.7251, allocations: 198.8 kB / 0.8807 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.7252, allocations: 59.83 kB / 0.8807 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.7263, allocations: 0.5247 MB / 0.8812 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.7263, allocations: 4.812 kB / 0.8812 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7263, allocations: 0 / 0.8812 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.7264, allocations: 3.984 kB / 0.8813 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.7285, allocations: 1.364 MB / 0.8826 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7285, allocations: 2.406 kB / 0.8826 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.7289, allocations: 80.64 kB / 0.8827 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.7289, allocations: 7.625 kB / 0.8827 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.7289, allocations: 8.438 kB / 0.8827 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.729, allocations: 9.359 kB / 0.8827 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.729, allocations: 8.75 kB / 0.8827 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.7306, allocations: 0.9415 MB / 0.8836 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.7308, allocations: 174.9 kB / 0.8838 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.7308, allocations: 8.406 kB / 0.8838 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.7313, allocations: 35.98 kB / 0.8838 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.7314, allocations: 53.91 kB / 0.8839 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.7315, allocations: 12.66 kB / 0.8839 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003727/0.7318, allocations: 354.2 kB / 0.8842 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7319, allocations: 0 / 0.8842 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005238/0.7324, allocations: 153.9 kB / 0.8844 GB, free: 4.125 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.0003997/0.7328, allocations: 210.3 kB / 0.8846 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.7339, allocations: 0.5925 MB / 0.8852 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.734, allocations: 4.25 kB / 0.8852 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.7346, allocations: 285.6 kB / 0.8854 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.7359, allocations: 280.1 kB / 0.8857 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.7377, allocations: 1.058 MB / 0.8867 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.7381, allocations: 0.8685 MB / 0.8876 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004578/0.7386, allocations: 128.6 kB / 0.8877 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.7387, allocations: 40.25 kB / 0.8877 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.7387, allocations: 0 / 0.8877 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of Templates: time 0.0172/0.7559, allocations: 10.78 MB / 0.8983 GB, free: 7.684 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)