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.01032/0.01032, allocations: 103.2 kB / 15.73 MB, free: 6.035 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.00181/0.00181, allocations: 194.6 kB / 16.68 MB, free: 5.953 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4482/0.4482, allocations: 54.95 MB / 324.9 MB, free: 15.89 MB / 270.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.001495/0.001495, allocations: 75.53 kB / 456.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1556, allocations: 59.59 MB / 0.5037 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5752/0.7308, allocations: 181.8 MB / 0.6813 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005487/0.7364, allocations: 4.391 MB / 0.6856 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007538/0.7372, allocations: 19.84 kB / 0.6856 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.7384, allocations: 388.7 kB / 0.6859 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.7399, allocations: 0.6042 MB / 0.6865 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.7438, allocations: 1.667 MB / 0.6882 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.7458, allocations: 1.751 MB / 0.6899 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.7466, allocations: 0.5481 MB / 0.6904 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.7481, allocations: 0.8832 MB / 0.6913 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.7487, allocations: 0.5501 MB / 0.6918 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.7488, allocations: 71.66 kB / 0.6919 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.7507, allocations: 1.206 MB / 0.6931 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.751, allocations: 294.5 kB / 0.6933 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.7515, allocations: 448.6 kB / 0.6938 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.7534, allocations: 1.556 MB / 0.6953 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7534, allocations: 2.094 kB / 0.6953 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7534, allocations: 0 / 0.6953 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.7534, allocations: 0 / 0.6953 GB, free: 15.3 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.002205/0.7556, allocations: 1.195 MB / 0.6964 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7557, allocations: 11.31 kB / 0.6965 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.7576, allocations: 273.7 kB / 0.6967 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008519/0.7585, allocations: 0.5188 MB / 0.6972 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.7585, allocations: 44.75 kB / 0.6973 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7586, allocations: 60.31 kB / 0.6973 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.76, allocations: 0.7768 MB / 0.6981 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.76, allocations: 0 / 0.6981 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.7601, allocations: 28.38 kB / 0.6981 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.7601, allocations: 18.44 kB / 0.6981 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.7614, allocations: 0.6156 MB / 0.6987 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.7649, allocations: 2.821 MB / 0.7015 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.7659, allocations: 454.2 kB / 0.7019 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.7664, allocations: 213.1 kB / 0.7021 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/0.7668, allocations: 119 kB / 0.7022 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009393/0.7678, allocations: 455 kB / 0.7027 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=36): time 2.384e-06/0.7678, allocations: 0 / 0.7027 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36): time 0.001808/0.7696, allocations: 0.6886 MB / 0.7033 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002605/0.7699, allocations: 475.8 kB / 0.7038 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.7706, allocations: 0.6524 MB / 0.7044 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.7707, allocations: 37.45 kB / 0.7045 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.771, allocations: 337.2 kB / 0.7048 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.7711, allocations: 124.7 kB / 0.7049 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.7713, allocations: 134.6 kB / 0.705 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.7715, allocations: 374 kB / 0.7054 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/0.772, allocations: 224.6 kB / 0.7056 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.7728, allocations: 479.8 kB / 0.7061 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7738, allocations: 0.6344 MB / 0.7067 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.7738, allocations: 3.812 kB / 0.7067 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001392/0.7752, allocations: 0.7513 MB / 0.7074 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.7753, allocations: 65.86 kB / 0.7075 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.7753, allocations: 5.719 kB / 0.7075 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.7754, allocations: 7.094 kB / 0.7075 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.7759, allocations: 119.7 kB / 0.7076 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.7759, allocations: 7.156 kB / 0.7076 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.7767, allocations: 113.6 kB / 0.7077 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.7768, allocations: 26.88 kB / 0.7078 GB, free: 9.211 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.0003391/0.7771, allocations: 232.6 kB / 0.708 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.7772, allocations: 76 kB / 0.708 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.7785, allocations: 0.52 MB / 0.7086 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7786, allocations: 8.719 kB / 0.7086 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7786, allocations: 1.906 kB / 0.7086 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.7786, allocations: 6.766 kB / 0.7086 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.7811, allocations: 1.555 MB / 0.7101 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.7811, allocations: 2.906 kB / 0.7101 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.7815, allocations: 80.3 kB / 0.7102 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.7815, allocations: 8.469 kB / 0.7102 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.7816, allocations: 9.375 kB / 0.7102 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/0.7816, allocations: 11.33 kB / 0.7102 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.7816, allocations: 2.875 kB / 0.7102 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.7834, allocations: 0.9362 MB / 0.7111 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.7838, allocations: 211.8 kB / 0.7113 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.7839, allocations: 19.52 kB / 0.7113 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.7846, allocations: 46.52 kB / 0.7114 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.7847, allocations: 40.27 kB / 0.7114 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.7848, allocations: 24.42 kB / 0.7114 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006342/0.7854, allocations: 462.3 kB / 0.7119 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7854, allocations: 0 / 0.7119 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008492/0.7863, allocations: 206 kB / 0.7121 GB, free: 6.449 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.0005628/0.7869, allocations: 198.5 kB / 0.7123 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.7884, allocations: 0.6385 MB / 0.7129 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7884, allocations: 2.531 kB / 0.7129 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.789, allocations: 286.1 kB / 0.7132 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.7908, allocations: 400.9 kB / 0.7136 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.793, allocations: 1.201 MB / 0.7147 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.7934, allocations: 0.912 MB / 0.7156 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005519/0.794, allocations: 155.4 kB / 0.7158 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.7942, allocations: 55.75 kB / 0.7158 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.7942, allocations: 0 / 0.7158 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of Templates: time 0.0263/0.8205, allocations: 15.75 MB / 0.7312 GB, free: 5.582 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)