Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001338/0.001338, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001485/0.001485, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8507/0.8507, allocations: 154.9 MB / 415.1 MB, free: 208 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.399e-05/3.641e-05, allocations: 8.5 kB / 480.4 MB, free: 6.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1522/0.1522, allocations: 147.4 MB / 0.6131 GB, free: 2.961 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.1552, allocations: 1.81 MB / 0.6148 GB, free: 1.148 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.1557, allocations: 35.62 kB / 0.6149 GB, free: 1.113 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.1561, allocations: 134.8 kB / 0.615 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.1571, allocations: 0.5048 MB / 0.6155 GB, free: 484 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.1585, allocations: 0.6974 MB / 0.6162 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.16, allocations: 1.261 MB / 0.6174 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005702/0.1606, allocations: 370.6 kB / 0.6178 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.1614, allocations: 0.6196 MB / 0.6184 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.1618, allocations: 335 kB / 0.6187 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.1619, allocations: 44 kB / 0.6187 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005308/0.1624, allocations: 331.1 kB / 0.619 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1626, allocations: 199.4 kB / 0.6192 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.1627, allocations: 215.5 kB / 0.6194 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.1634, allocations: 0.6424 MB / 0.6201 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1634, allocations: 0 / 0.6201 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1634, allocations: 0 / 0.6201 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.1634, allocations: 0 / 0.6201 GB, free: 11.78 MB / 0.5886 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.0009258/0.1643, allocations: 0.8428 MB / 0.6209 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1644, allocations: 8.031 kB / 0.6209 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.1656, allocations: 387.7 kB / 0.6213 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.166, allocations: 375.9 kB / 0.6216 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.1661, allocations: 29 kB / 0.6217 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.1661, allocations: 44 kB / 0.6217 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.1666, allocations: 390.7 kB / 0.6221 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1666, allocations: 0 / 0.6221 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.1666, allocations: 16 kB / 0.6221 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1666, allocations: 12 kB / 0.6221 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.1668, allocations: 137.6 kB / 0.6222 GB, free: 9.465 MB / 0.5886 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.001561/0.1684, allocations: 1.451 MB / 0.6236 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.1687, allocations: 196.6 kB / 0.6238 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.1687, allocations: 59.67 kB / 0.6239 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.1689, allocations: 55.94 kB / 0.6239 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.1691, allocations: 165.4 kB / 0.6241 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 2.023e-06/0.1691, allocations: 0 / 0.6241 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.0004455/0.1696, allocations: 243.2 kB / 0.6243 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1696, allocations: 55.41 kB / 0.6244 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1698, allocations: 355.1 kB / 0.6247 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1699, allocations: 37.69 kB / 0.6248 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.17, allocations: 229.4 kB / 0.625 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.17, allocations: 134.9 kB / 0.6251 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1701, allocations: 90.14 kB / 0.6252 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.1702, allocations: 362.6 kB / 0.6255 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1703, allocations: 99.2 kB / 0.6256 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.1705, allocations: 332 kB / 0.6259 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.1708, allocations: 280.4 kB / 0.6262 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1708, allocations: 0 / 0.6262 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003481/0.1711, allocations: 367.6 kB / 0.6266 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.1711, allocations: 63.34 kB / 0.6266 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1712, allocations: 11.92 kB / 0.6266 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1712, allocations: 4 kB / 0.6266 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.1715, allocations: 95.89 kB / 0.6267 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1715, allocations: 7.984 kB / 0.6267 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1717, allocations: 63.64 kB / 0.6268 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.1717, allocations: 16.16 kB / 0.6268 GB, free: 4.438 MB / 0.5886 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.0001286/0.1718, allocations: 152.5 kB / 0.627 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.1719, allocations: 35.97 kB / 0.627 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.1722, allocations: 233.8 kB / 0.6272 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1722, allocations: 4 kB / 0.6272 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.1722, allocations: 4 kB / 0.6272 GB, free: 4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1722, allocations: 3.938 kB / 0.6272 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.173, allocations: 0.7232 MB / 0.6279 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.173, allocations: 4 kB / 0.6279 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1732, allocations: 67.89 kB / 0.628 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1732, allocations: 4 kB / 0.628 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.1732, allocations: 12.44 kB / 0.628 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1732, allocations: 8 kB / 0.628 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1732, allocations: 7.938 kB / 0.628 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.1737, allocations: 0.5078 MB / 0.6285 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1738, allocations: 67.58 kB / 0.6286 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.1738, allocations: 8 kB / 0.6286 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.174, allocations: 27.97 kB / 0.6286 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.1741, allocations: 51.8 kB / 0.6287 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1741, allocations: 20.02 kB / 0.6287 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001116/0.1742, allocations: 148.7 kB / 0.6288 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1742, allocations: 0 / 0.6288 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003774/0.1746, allocations: 159.8 kB / 0.629 GB, free: 2.027 MB / 0.5886 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.0002275/0.1748, allocations: 124.2 kB / 0.6291 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.1752, allocations: 359.9 kB / 0.6295 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.1752, allocations: 4 kB / 0.6295 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1753, allocations: 105.9 kB / 0.6296 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.1759, allocations: 217.2 kB / 0.6298 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1777, allocations: 0.9194 MB / 0.6307 GB, free: 208 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.295e-05/0.1778, allocations: 125.8 kB / 0.6308 GB, free: 64 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002528/0.178, allocations: 76.2 kB / 0.6309 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.1784, allocations: 197.2 kB / 0.631 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.031e-06/0.1784, allocations: 0 / 0.631 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.01474/0.1931, allocations: 9.37 MB / 0.6402 GB, free: 6.695 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.227736427914351]