Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001325/0.001325, allocations: 107.2 kB / 15.99 MB, free: 6.359 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.001248/0.001248, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.519/1.519, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8833/0.8833, allocations: 126.7 MB / 417.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002884/0.002884, allocations: 63.89 kB / 0.4952 GB, free: 3.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.447, allocations: 78.86 MB / 0.5723 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2254/0.6724, allocations: 179.4 MB / 0.7475 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4009/1.073, allocations: 4.407 MB / 0.7518 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008245/1.074, allocations: 19.97 kB / 0.7518 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000769/1.075, allocations: 210.1 kB / 0.752 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/1.077, allocations: 0.7016 MB / 0.7527 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004812/1.082, allocations: 1.418 MB / 0.7541 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002034/1.084, allocations: 1.254 MB / 0.7553 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000795/1.085, allocations: 420.7 kB / 0.7557 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/1.088, allocations: 0.7942 MB / 0.7565 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007687/1.088, allocations: 420.4 kB / 0.7569 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/1.088, allocations: 45.22 kB / 0.7569 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/1.093, allocations: 1.598 MB / 0.7585 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003514/1.093, allocations: 190.6 kB / 0.7587 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006372/1.094, allocations: 303.4 kB / 0.7589 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/1.098, allocations: 1.405 MB / 0.7603 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.098, allocations: 1.219 kB / 0.7603 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/1.098, allocations: 0.8438 kB / 0.7603 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.195e-05/1.098, allocations: 0 / 0.7603 GB, free: 1.637 MB / 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.002321/1.1, allocations: 1.012 MB / 0.7613 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.1, allocations: 9.938 kB / 0.7613 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/1.102, allocations: 280.2 kB / 0.7616 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000872/1.103, allocations: 448.3 kB / 0.762 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/1.103, allocations: 33.86 kB / 0.762 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/1.103, allocations: 42.36 kB / 0.7621 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.105, allocations: 0.5488 MB / 0.7626 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/1.105, allocations: 2.75 kB / 0.7626 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/1.105, allocations: 19.53 kB / 0.7626 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/1.105, allocations: 11.03 kB / 0.7626 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009942/1.106, allocations: 458 kB / 0.7631 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/1.109, allocations: 2.123 MB / 0.7652 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009482/1.11, allocations: 407.5 kB / 0.7655 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/1.11, allocations: 227.9 kB / 0.7658 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007411/1.111, allocations: 395.9 kB / 0.7661 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/1.111, allocations: 287.6 kB / 0.7664 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.755e-06/1.111, allocations: 3.719 kB / 0.7664 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001812/1.113, allocations: 0.6899 MB / 0.7671 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/1.113, allocations: 59.47 kB / 0.7672 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/1.114, allocations: 499.7 kB / 0.7676 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/1.114, allocations: 37.11 kB / 0.7677 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/1.114, allocations: 260 kB / 0.7679 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.699e-05/1.114, allocations: 126.8 kB / 0.768 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.114, allocations: 89.61 kB / 0.7681 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.115, allocations: 371.3 kB / 0.7685 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/1.115, allocations: 197.9 kB / 0.7687 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/1.116, allocations: 311.8 kB / 0.769 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/1.117, allocations: 0.5464 MB / 0.7695 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.117, allocations: 2 kB / 0.7695 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001369/1.118, allocations: 0.647 MB / 0.7701 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.624e-05/1.118, allocations: 61.75 kB / 0.7702 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.118, allocations: 4.719 kB / 0.7702 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/1.118, allocations: 9.625 kB / 0.7702 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/1.119, allocations: 95.91 kB / 0.7703 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.119, allocations: 6 kB / 0.7703 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/1.119, allocations: 87.61 kB / 0.7704 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/1.119, allocations: 24.88 kB / 0.7704 GB, free: 13.54 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.0002909/1.12, allocations: 199.1 kB / 0.7706 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/1.12, allocations: 54.44 kB / 0.7706 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/1.121, allocations: 0.5305 MB / 0.7712 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.121, allocations: 3.594 kB / 0.7712 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.121, allocations: 5.719 kB / 0.7712 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.121, allocations: 3.984 kB / 0.7712 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/1.123, allocations: 1.352 MB / 0.7725 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.123, allocations: 4.906 kB / 0.7725 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/1.124, allocations: 77.92 kB / 0.7726 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/1.124, allocations: 6.531 kB / 0.7726 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/1.124, allocations: 12.47 kB / 0.7726 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/1.124, allocations: 8.625 kB / 0.7726 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.124, allocations: 1.781 kB / 0.7726 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/1.125, allocations: 0.9406 MB / 0.7735 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/1.125, allocations: 171.8 kB / 0.7737 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/1.126, allocations: 14.72 kB / 0.7737 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/1.126, allocations: 41.64 kB / 0.7737 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.126, allocations: 53.38 kB / 0.7738 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/1.126, allocations: 18.33 kB / 0.7738 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003706/1.127, allocations: 345.7 kB / 0.7741 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.127, allocations: 0 / 0.7741 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006341/1.127, allocations: 154.4 kB / 0.7743 GB, free: 12.39 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.000446/1.128, allocations: 199 kB / 0.7745 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001136/1.129, allocations: 0.5986 MB / 0.7751 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.129, allocations: 0.9688 kB / 0.7751 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005777/1.129, allocations: 292.7 kB / 0.7753 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.131, allocations: 287.6 kB / 0.7756 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/1.133, allocations: 1.221 MB / 0.7768 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/1.133, allocations: 0.8645 MB / 0.7776 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005638/1.134, allocations: 127 kB / 0.7778 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/1.134, allocations: 46.75 kB / 0.7778 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.134, allocations: 0.6875 kB / 0.7778 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.01877/1.153, allocations: 10.61 MB / 0.7882 GB, free: 10.21 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)