Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00779/0.007791, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001329/0.001329, allocations: 196.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3992/0.3992, allocations: 54.94 MB / 324.8 MB, free: 80 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 70.8 kB / 456.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 59.6 MB / 0.5038 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5587/0.6668, allocations: 181.8 MB / 0.6813 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005192/0.6721, allocations: 4.388 MB / 0.6856 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.6728, allocations: 20.31 kB / 0.6857 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.674, allocations: 366.4 kB / 0.686 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.6753, allocations: 0.5916 MB / 0.6866 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.6788, allocations: 1.628 MB / 0.6882 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.6807, allocations: 1.745 MB / 0.6899 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006751/0.6814, allocations: 0.5584 MB / 0.6904 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.6828, allocations: 0.8539 MB / 0.6913 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.6834, allocations: 0.5486 MB / 0.6918 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.6835, allocations: 72.03 kB / 0.6919 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.6857, allocations: 1.203 MB / 0.693 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.686, allocations: 293.6 kB / 0.6933 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.6865, allocations: 442.5 kB / 0.6937 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.6884, allocations: 1.56 MB / 0.6953 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6884, allocations: 0 / 0.6953 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6885, allocations: 0 / 0.6953 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.6885, allocations: 0 / 0.6953 GB, free: 15.31 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00211/0.6906, allocations: 1.198 MB / 0.6964 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.6906, allocations: 11.41 kB / 0.6964 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.6925, allocations: 279.2 kB / 0.6967 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007466/0.6932, allocations: 0.5105 MB / 0.6972 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.6933, allocations: 45.72 kB / 0.6972 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.6934, allocations: 61.61 kB / 0.6973 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.6945, allocations: 0.7749 MB / 0.6981 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6946, allocations: 0 / 0.6981 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.6946, allocations: 25.81 kB / 0.6981 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.6947, allocations: 15.44 kB / 0.6981 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.6958, allocations: 0.6191 MB / 0.6987 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.6996, allocations: 2.825 MB / 0.7015 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.7006, allocations: 457 kB / 0.7019 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.7011, allocations: 211.6 kB / 0.7021 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.7014, allocations: 118.3 kB / 0.7022 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007496/0.7022, allocations: 456.2 kB / 0.7027 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=36): time 2.325e-06/0.7022, allocations: 0 / 0.7027 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36): time 0.001701/0.7039, allocations: 0.6866 MB / 0.7033 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003814/0.7043, allocations: 470.3 kB / 0.7038 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/0.7051, allocations: 0.652 MB / 0.7044 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.7052, allocations: 41.39 kB / 0.7044 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.7055, allocations: 344.3 kB / 0.7048 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.7056, allocations: 127.2 kB / 0.7049 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.7058, allocations: 127.9 kB / 0.705 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.706, allocations: 381.5 kB / 0.7054 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/0.7066, allocations: 224.9 kB / 0.7056 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.7074, allocations: 473.7 kB / 0.706 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.7086, allocations: 0.6351 MB / 0.7067 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.7086, allocations: 2.594 kB / 0.7067 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001401/0.71, allocations: 0.7525 MB / 0.7074 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/0.7101, allocations: 65.55 kB / 0.7075 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.7101, allocations: 2.562 kB / 0.7075 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.7101, allocations: 8.031 kB / 0.7075 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.7107, allocations: 121.2 kB / 0.7076 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.7107, allocations: 12.05 kB / 0.7076 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.7115, allocations: 110.6 kB / 0.7077 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.7116, allocations: 27 kB / 0.7077 GB, free: 9.223 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (66): * Single equations (assignments): 64 * 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.0003854/0.712, allocations: 231.8 kB / 0.708 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.7121, allocations: 78.06 kB / 0.708 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.7132, allocations: 0.5212 MB / 0.7085 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.7133, allocations: 4.844 kB / 0.7085 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.7133, allocations: 6.719 kB / 0.7086 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.7133, allocations: 3.984 kB / 0.7086 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.7159, allocations: 1.549 MB / 0.7101 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7159, allocations: 2.625 kB / 0.7101 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.7164, allocations: 78.02 kB / 0.7101 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.7164, allocations: 4.75 kB / 0.7101 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.7164, allocations: 13.69 kB / 0.7102 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.7164, allocations: 11.05 kB / 0.7102 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.7164, allocations: 2.812 kB / 0.7102 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.7182, allocations: 0.9404 MB / 0.7111 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.7185, allocations: 213.3 kB / 0.7113 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.7186, allocations: 15.83 kB / 0.7113 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.7193, allocations: 45.39 kB / 0.7114 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.7195, allocations: 47.83 kB / 0.7114 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.7195, allocations: 24.8 kB / 0.7114 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005967/0.7201, allocations: 466.3 kB / 0.7119 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7201, allocations: 0 / 0.7119 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000801/0.7209, allocations: 202.9 kB / 0.7121 GB, free: 6.508 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * 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.000474/0.7214, allocations: 196.2 kB / 0.7123 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.7228, allocations: 0.6447 MB / 0.7129 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7228, allocations: 2.125 kB / 0.7129 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.7234, allocations: 276.2 kB / 0.7131 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.7252, allocations: 400.7 kB / 0.7135 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.7273, allocations: 1.199 MB / 0.7147 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.7279, allocations: 0.9134 MB / 0.7156 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006758/0.7285, allocations: 159.9 kB / 0.7157 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.7287, allocations: 54.34 kB / 0.7158 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/0.7287, allocations: 0 / 0.7158 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.0267/0.7554, allocations: 16.01 MB / 0.7314 GB, free: 5.398 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)