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.01061/0.01061, allocations: 100.6 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.001819/0.001819, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2632/0.2632, allocations: 54.97 MB / 324.9 MB, free: 4.852 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.001415/0.001415, allocations: 71.91 kB / 456.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 59.6 MB / 0.5037 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5242/0.6576, allocations: 181.8 MB / 0.6813 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006117/0.6637, allocations: 4.377 MB / 0.6855 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005928/0.6644, allocations: 19.88 kB / 0.6856 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.6654, allocations: 369.6 kB / 0.6859 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.6668, allocations: 0.5865 MB / 0.6865 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.6711, allocations: 1.628 MB / 0.6881 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.6736, allocations: 1.751 MB / 0.6898 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008333/0.6744, allocations: 0.5558 MB / 0.6903 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.6761, allocations: 0.8446 MB / 0.6912 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006638/0.6768, allocations: 0.5409 MB / 0.6917 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.6769, allocations: 72 kB / 0.6918 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.6791, allocations: 1.208 MB / 0.6929 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.6794, allocations: 295.2 kB / 0.6932 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.6799, allocations: 450 kB / 0.6936 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.6822, allocations: 1.561 MB / 0.6952 GB, free: 12.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6822, allocations: 0 / 0.6952 GB, free: 12.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.295e-06/0.6822, allocations: 0 / 0.6952 GB, free: 12.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6822, allocations: 4 kB / 0.6952 GB, free: 12.82 MB / 0.545 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.00239/0.6846, allocations: 1.193 MB / 0.6963 GB, free: 11.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.6847, allocations: 8.031 kB / 0.6963 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.6867, allocations: 278.8 kB / 0.6966 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.6877, allocations: 0.5093 MB / 0.6971 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.6878, allocations: 41.31 kB / 0.6972 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6879, allocations: 60 kB / 0.6972 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.6893, allocations: 0.7778 MB / 0.698 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6894, allocations: 0 / 0.698 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.6895, allocations: 32 kB / 0.698 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.6895, allocations: 19.98 kB / 0.698 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.6909, allocations: 0.6139 MB / 0.6986 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.6949, allocations: 2.821 MB / 0.7014 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.696, allocations: 462 kB / 0.7018 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.6965, allocations: 209.3 kB / 0.702 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/0.6969, allocations: 121.3 kB / 0.7021 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008085/0.6977, allocations: 471.5 kB / 0.7026 GB, free: 4.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=36): time 2.265e-06/0.6977, allocations: 0 / 0.7026 GB, free: 4.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=36): time 0.001733/0.6995, allocations: 0.6815 MB / 0.7032 GB, free: 4.148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002335/0.6997, allocations: 478.6 kB / 0.7037 GB, free: 3.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.7005, allocations: 0.6485 MB / 0.7043 GB, free: 2.914 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.7006, allocations: 41.69 kB / 0.7044 GB, free: 2.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.7009, allocations: 339.6 kB / 0.7047 GB, free: 2.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.701, allocations: 122.4 kB / 0.7048 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.7012, allocations: 138 kB / 0.7049 GB, free: 2.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7014, allocations: 370.8 kB / 0.7053 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/0.7019, allocations: 221 kB / 0.7055 GB, free: 1.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.7027, allocations: 476.3 kB / 0.706 GB, free: 1.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.7039, allocations: 0.6357 MB / 0.7066 GB, free: 424 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7039, allocations: 0 / 0.7066 GB, free: 424 kB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001555/0.7055, allocations: 0.7561 MB / 0.7073 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.7055, allocations: 60 kB / 0.7074 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.7055, allocations: 4 kB / 0.7074 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.7056, allocations: 12 kB / 0.7074 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.7062, allocations: 119.8 kB / 0.7075 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.7062, allocations: 12.8 kB / 0.7075 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/0.707, allocations: 107.1 kB / 0.7076 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.707, allocations: 24.92 kB / 0.7076 GB, free: 15.29 MB / 0.5606 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.0003256/0.7074, allocations: 239.4 kB / 0.7079 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.7075, allocations: 75.14 kB / 0.7079 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.7088, allocations: 0.5215 MB / 0.7085 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.7088, allocations: 4 kB / 0.7085 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7088, allocations: 8 kB / 0.7085 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.7088, allocations: 0 / 0.7085 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.7113, allocations: 1.555 MB / 0.71 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.7113, allocations: 4 kB / 0.71 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.7117, allocations: 76.67 kB / 0.7101 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.7118, allocations: 4 kB / 0.7101 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.7118, allocations: 15.98 kB / 0.7101 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.7118, allocations: 4.875 kB / 0.7101 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7118, allocations: 4 kB / 0.7101 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.7137, allocations: 0.9367 MB / 0.711 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.7141, allocations: 216.1 kB / 0.7112 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.7142, allocations: 12 kB / 0.7112 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.7148, allocations: 52.02 kB / 0.7113 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.715, allocations: 43.88 kB / 0.7113 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.715, allocations: 22.25 kB / 0.7113 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005842/0.7156, allocations: 463 kB / 0.7118 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7156, allocations: 0 / 0.7118 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007721/0.7164, allocations: 215.8 kB / 0.712 GB, free: 10.68 MB / 0.5606 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.0004417/0.7168, allocations: 169.6 kB / 0.7121 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.7182, allocations: 0.6453 MB / 0.7128 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7183, allocations: 7.938 kB / 0.7128 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.719, allocations: 277.5 kB / 0.713 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.721, allocations: 410.1 kB / 0.7134 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.7234, allocations: 1.207 MB / 0.7146 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.724, allocations: 0.9102 MB / 0.7155 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006284/0.7246, allocations: 157.5 kB / 0.7157 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.7248, allocations: 51.44 kB / 0.7157 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.7248, allocations: 3.938 kB / 0.7157 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of Templates: time 0.02719/0.752, allocations: 15.74 MB / 0.7311 GB, free: 7.219 MB / 0.5762 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)