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.001011/0.001011, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.00238, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001053/0.001053, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.00241, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9956/0.9956, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09029/1.086, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8054/0.8054, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.282/1.087, allocations: 49.13 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 1.633e-06/1.633e-06, allocations: 0 / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.946e-05, allocations: 3.469 kB / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1426/0.1426, allocations: 147.8 MB / 0.5835 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.1455, allocations: 1.815 MB / 0.5853 GB, free: 15.01 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.1459, allocations: 27.75 kB / 0.5853 GB, free: 14.98 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.1462, allocations: 138.8 kB / 0.5854 GB, free: 14.84 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1474, allocations: 0.5047 MB / 0.5859 GB, free: 14.34 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1486, allocations: 0.6819 MB / 0.5866 GB, free: 13.65 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.1499, allocations: 1.251 MB / 0.5878 GB, free: 12.4 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.1505, allocations: 362.7 kB / 0.5882 GB, free: 12.04 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008715/0.1513, allocations: 0.6693 MB / 0.5888 GB, free: 11.36 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.1518, allocations: 335 kB / 0.5891 GB, free: 11.04 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.1518, allocations: 44 kB / 0.5892 GB, free: 10.99 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.1524, allocations: 335.1 kB / 0.5895 GB, free: 10.66 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.1525, allocations: 167.5 kB / 0.5897 GB, free: 10.5 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.1527, allocations: 171.7 kB / 0.5898 GB, free: 10.33 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.1533, allocations: 0.5684 MB / 0.5904 GB, free: 9.762 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.1533, allocations: 0 / 0.5904 GB, free: 9.762 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1533, allocations: 3.938 kB / 0.5904 GB, free: 9.758 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.1534, allocations: 0 / 0.5904 GB, free: 9.758 MB / 0.573 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.001031/0.1544, allocations: 0.985 MB / 0.5913 GB, free: 8.738 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1544, allocations: 8.031 kB / 0.5914 GB, free: 8.73 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.1554, allocations: 460.9 kB / 0.5918 GB, free: 8.262 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.1559, allocations: 379.8 kB / 0.5922 GB, free: 7.863 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.1559, allocations: 32.98 kB / 0.5922 GB, free: 7.832 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.156, allocations: 47.98 kB / 0.5922 GB, free: 7.785 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.1564, allocations: 386.8 kB / 0.5926 GB, free: 7.375 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1564, allocations: 0 / 0.5926 GB, free: 7.375 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1564, allocations: 16 kB / 0.5926 GB, free: 7.359 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1564, allocations: 8 kB / 0.5926 GB, free: 7.352 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.1569, allocations: 137.6 kB / 0.5928 GB, free: 7.215 MB / 0.573 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.001308/0.1582, allocations: 1.463 MB / 0.5942 GB, free: 5.699 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.1585, allocations: 197.9 kB / 0.5944 GB, free: 5.496 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.1586, allocations: 71.59 kB / 0.5944 GB, free: 5.422 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.1587, allocations: 51.94 kB / 0.5945 GB, free: 5.371 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.159, allocations: 162.7 kB / 0.5946 GB, free: 5.203 MB / 0.573 GB Notification: Performance of pre-optimization done (n=37): time 2.545e-06/0.159, allocations: 0 / 0.5946 GB, free: 5.203 MB / 0.573 GB Notification: Performance of matching and sorting (n=37): time 0.0004358/0.1594, allocations: 231.2 kB / 0.5949 GB, free: 4.973 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1594, allocations: 59.34 kB / 0.5949 GB, free: 4.902 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1596, allocations: 355.1 kB / 0.5953 GB, free: 4.543 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1597, allocations: 33.7 kB / 0.5953 GB, free: 4.504 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1598, allocations: 241.4 kB / 0.5955 GB, free: 4.262 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.1599, allocations: 138.8 kB / 0.5957 GB, free: 4.125 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.16, allocations: 82.14 kB / 0.5957 GB, free: 4.039 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1601, allocations: 362.7 kB / 0.5961 GB, free: 3.676 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-05/0.1602, allocations: 99.2 kB / 0.5962 GB, free: 3.566 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1604, allocations: 340 kB / 0.5965 GB, free: 3.152 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.1606, allocations: 280.4 kB / 0.5968 GB, free: 2.828 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1606, allocations: 0 / 0.5968 GB, free: 2.828 MB / 0.573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003291/0.1609, allocations: 375 kB / 0.5971 GB, free: 2.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.161, allocations: 59.41 kB / 0.5972 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.161, allocations: 0 / 0.5972 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.161, allocations: 8 kB / 0.5972 GB, free: 2.352 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.1612, allocations: 103.9 kB / 0.5973 GB, free: 2.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1612, allocations: 7.938 kB / 0.5973 GB, free: 2.242 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.1614, allocations: 63.64 kB / 0.5974 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.1615, allocations: 16 kB / 0.5974 GB, free: 2.164 MB / 0.573 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.0001198/0.1616, allocations: 144.7 kB / 0.5975 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1616, allocations: 35.97 kB / 0.5975 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.1619, allocations: 242.7 kB / 0.5978 GB, free: 1.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1619, allocations: 4 kB / 0.5978 GB, free: 1.727 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1619, allocations: 0 / 0.5978 GB, free: 1.727 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1619, allocations: 3.938 kB / 0.5978 GB, free: 1.723 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.1627, allocations: 0.7226 MB / 0.5985 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1627, allocations: 4.062 kB / 0.5985 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.1629, allocations: 75.89 kB / 0.5986 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.1629, allocations: 59.64 kB / 0.5986 GB, free: 0.7773 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1629, allocations: 4.438 kB / 0.5986 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.163, allocations: 12 kB / 0.5986 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.163, allocations: 15.92 kB / 0.5987 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.163, allocations: 4 kB / 0.5987 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.1634, allocations: 0.4955 MB / 0.5991 GB, free: 172 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.1635, allocations: 12 kB / 0.5992 GB, free: 160 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1636, allocations: 27.97 kB / 0.5992 GB, free: 132 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.1637, allocations: 47.8 kB / 0.5992 GB, free: 84 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1637, allocations: 20.03 kB / 0.5992 GB, free: 64 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006371/0.1643, allocations: 140.8 kB / 0.5994 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1643, allocations: 4 kB / 0.5994 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003668/0.1647, allocations: 167.5 kB / 0.5995 GB, free: 15.75 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.000214/0.1649, allocations: 124.2 kB / 0.5997 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1653, allocations: 363.7 kB / 0.6 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.1653, allocations: 11.98 kB / 0.6 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1654, allocations: 101.6 kB / 0.6001 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.166, allocations: 252 kB / 0.6004 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.1698, allocations: 0.9351 MB / 0.6013 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.1699, allocations: 137.8 kB / 0.6014 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002554/0.1701, allocations: 68.16 kB / 0.6015 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.1705, allocations: 201.2 kB / 0.6017 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of SimCode: time 1.383e-06/0.1705, allocations: 0 / 0.6017 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of Templates: time 0.01283/0.1833, allocations: 9.762 MB / 0.6112 GB, free: 3.98 MB / 0.5886 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0623407838866115]