Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009061/0.0009061, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 169 kB / 23.02 MB, free: 1.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9319/0.9319, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8369/0.8369, allocations: 154.6 MB / 414.5 MB, free: 0.6367 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 3.938 kB / 0.5203 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.878e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.137 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.129/0.129, allocations: 148 MB / 0.6648 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.132, allocations: 1.764 MB / 0.6666 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/0.1324, allocations: 27.75 kB / 0.6666 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.1328, allocations: 138.8 kB / 0.6667 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009791/0.1338, allocations: 0.5009 MB / 0.6672 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1351, allocations: 0.7052 MB / 0.6679 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1363, allocations: 1.253 MB / 0.6691 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.1368, allocations: 386 kB / 0.6695 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000727/0.1375, allocations: 0.6273 MB / 0.6701 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.1379, allocations: 350.9 kB / 0.6704 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.1379, allocations: 48 kB / 0.6705 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.1384, allocations: 331.1 kB / 0.6708 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.1386, allocations: 191.4 kB / 0.671 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.1388, allocations: 219.4 kB / 0.6712 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000885/0.1397, allocations: 0.6424 MB / 0.6718 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1397, allocations: 0 / 0.6718 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1397, allocations: 0 / 0.6718 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.1397, allocations: 0 / 0.6718 GB, free: 6.672 MB / 0.6355 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.001239/0.1409, allocations: 0.9636 MB / 0.6728 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.141, allocations: 12.03 kB / 0.6728 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.1424, allocations: 387.5 kB / 0.6731 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.143, allocations: 425.2 kB / 0.6735 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.1431, allocations: 33 kB / 0.6736 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.1431, allocations: 51.95 kB / 0.6736 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.1437, allocations: 421.5 kB / 0.674 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1438, allocations: 11.92 kB / 0.674 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.1438, allocations: 23.98 kB / 0.6741 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1438, allocations: 8 kB / 0.6741 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.1442, allocations: 181.8 kB / 0.6742 GB, free: 4.066 MB / 0.6355 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.00184/0.146, allocations: 2.023 MB / 0.6762 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.1464, allocations: 163.2 kB / 0.6764 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1466, allocations: 83.62 kB / 0.6765 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.1468, allocations: 55.94 kB / 0.6765 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.1471, allocations: 174.1 kB / 0.6767 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.1471, allocations: 0 / 0.6767 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.0007611/0.1478, allocations: 348.5 kB / 0.677 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.1479, allocations: 59.41 kB / 0.6771 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.1482, allocations: 414.6 kB / 0.6775 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1482, allocations: 37.7 kB / 0.6775 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1484, allocations: 331.1 kB / 0.6778 GB, free: 264 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.1485, allocations: 126.9 kB / 0.6779 GB, free: 136 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1486, allocations: 99.83 kB / 0.678 GB, free: 28 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.2488/0.3975, allocations: 0.5279 MB / 0.6785 GB, free: 61.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.3977, allocations: 116.2 kB / 0.6787 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3979, allocations: 390.1 kB / 0.679 GB, free: 61.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3982, allocations: 334.5 kB / 0.6793 GB, free: 60.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3982, allocations: 0 / 0.6793 GB, free: 60.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005387/0.3988, allocations: 474.6 kB / 0.6798 GB, free: 60.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.3988, allocations: 63.33 kB / 0.6799 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.3988, allocations: 3.938 kB / 0.6799 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3988, allocations: 4.609 kB / 0.6799 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.3991, allocations: 97.02 kB / 0.68 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3992, allocations: 9.531 kB / 0.68 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3994, allocations: 57.83 kB / 0.68 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.3994, allocations: 24.69 kB / 0.68 GB, free: 60.64 MB / 0.6355 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.0001488/0.3996, allocations: 186.6 kB / 0.6802 GB, free: 60.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.3997, allocations: 58.06 kB / 0.6803 GB, free: 60.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.4001, allocations: 308 kB / 0.6806 GB, free: 60.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4001, allocations: 8.359 kB / 0.6806 GB, free: 60.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4001, allocations: 3.25 kB / 0.6806 GB, free: 60.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4001, allocations: 3.188 kB / 0.6806 GB, free: 60.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.401, allocations: 0.918 MB / 0.6815 GB, free: 60 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.401, allocations: 3.734 kB / 0.6815 GB, free: 60 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.4012, allocations: 68.31 kB / 0.6816 GB, free: 60 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4012, allocations: 6.094 kB / 0.6816 GB, free: 60 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.4012, allocations: 18.22 kB / 0.6816 GB, free: 60 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4012, allocations: 3.156 kB / 0.6816 GB, free: 60 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4012, allocations: 13.41 kB / 0.6816 GB, free: 59.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.4017, allocations: 0.5999 MB / 0.6822 GB, free: 59.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4018, allocations: 84.86 kB / 0.6823 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.4018, allocations: 12.28 kB / 0.6823 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.402, allocations: 25.8 kB / 0.6823 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.402, allocations: 50.8 kB / 0.6823 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.4021, allocations: 16.66 kB / 0.6824 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001301/0.4022, allocations: 272.3 kB / 0.6826 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4022, allocations: 0 / 0.6826 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003449/0.4025, allocations: 159.5 kB / 0.6828 GB, free: 59.48 MB / 0.6355 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.0001928/0.4027, allocations: 144.8 kB / 0.6829 GB, free: 59.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.4031, allocations: 402.5 kB / 0.6833 GB, free: 59.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4031, allocations: 1.75 kB / 0.6833 GB, free: 59.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4032, allocations: 120.1 kB / 0.6834 GB, free: 59.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.4038, allocations: 216.3 kB / 0.6836 GB, free: 59.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.4049, allocations: 0.9846 MB / 0.6846 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.348e-05/0.405, allocations: 132.8 kB / 0.6847 GB, free: 58.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002118/0.4052, allocations: 96.84 kB / 0.6848 GB, free: 58.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.4053, allocations: 43.53 kB / 0.6848 GB, free: 58.54 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.4053, allocations: 0.75 kB / 0.6848 GB, free: 58.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.00935/0.4147, allocations: 9.46 MB / 0.6941 GB, free: 57.92 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.39523745700717]