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.0009608/0.0009608, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009701/0.0009701, allocations: 177 kB / 23.36 MB, free: 1.129 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.449 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.7659/0.7659, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.393e-06/1.393e-06, allocations: 0 / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.454e-05, allocations: 2.312 kB / 480 MB, free: 6.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1658/0.1658, allocations: 147.3 MB / 0.6126 GB, free: 3.426 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1692, allocations: 1.818 MB / 0.6144 GB, free: 1.605 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005689/0.1698, allocations: 31.75 kB / 0.6144 GB, free: 1.574 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.1702, allocations: 138.8 kB / 0.6146 GB, free: 1.438 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1712, allocations: 0.5009 MB / 0.6151 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1727, allocations: 0.7052 MB / 0.6157 GB, free: 232 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.1741, allocations: 1.25 MB / 0.617 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005301/0.1746, allocations: 382.7 kB / 0.6173 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.1754, allocations: 0.6312 MB / 0.6179 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.1758, allocations: 331 kB / 0.6183 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.1758, allocations: 44 kB / 0.6183 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.1763, allocations: 323.1 kB / 0.6186 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1765, allocations: 203.3 kB / 0.6188 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1767, allocations: 215.5 kB / 0.619 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008271/0.1775, allocations: 0.6346 MB / 0.6196 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1775, allocations: 0 / 0.6196 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1775, allocations: 3.938 kB / 0.6196 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.1775, allocations: 0 / 0.6196 GB, free: 12.22 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.001045/0.1786, allocations: 0.8506 MB / 0.6205 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1786, allocations: 8.031 kB / 0.6205 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.18, allocations: 383.7 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.1805, allocations: 379.9 kB / 0.6212 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1805, allocations: 29 kB / 0.6212 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.1806, allocations: 44 kB / 0.6213 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.1811, allocations: 390.8 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1811, allocations: 3.938 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.1811, allocations: 16 kB / 0.6217 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1811, allocations: 12 kB / 0.6217 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1813, allocations: 141.6 kB / 0.6218 GB, free: 9.898 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.001444/0.1828, allocations: 1.44 MB / 0.6232 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1831, allocations: 194.7 kB / 0.6234 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.1832, allocations: 63.66 kB / 0.6235 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.1834, allocations: 59.94 kB / 0.6235 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1836, allocations: 163 kB / 0.6237 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 3.246e-06/0.1836, allocations: 0 / 0.6237 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.0004521/0.184, allocations: 239.7 kB / 0.6239 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1841, allocations: 59.39 kB / 0.624 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1843, allocations: 355.1 kB / 0.6243 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1843, allocations: 29.7 kB / 0.6243 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1845, allocations: 237.4 kB / 0.6246 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.1845, allocations: 134.9 kB / 0.6247 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.1846, allocations: 82.16 kB / 0.6248 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1847, allocations: 362.7 kB / 0.6251 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1848, allocations: 95.22 kB / 0.6252 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.185, allocations: 347.7 kB / 0.6255 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.1853, allocations: 276.6 kB / 0.6258 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1853, allocations: 0 / 0.6258 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003647/0.1857, allocations: 362.6 kB / 0.6261 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.1857, allocations: 63.39 kB / 0.6262 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1857, allocations: 4 kB / 0.6262 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1857, allocations: 4 kB / 0.6262 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.186, allocations: 91.83 kB / 0.6263 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.186, allocations: 8 kB / 0.6263 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1862, allocations: 63.92 kB / 0.6264 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1862, allocations: 20 kB / 0.6264 GB, free: 4.891 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.0001449/0.1864, allocations: 144.5 kB / 0.6265 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.1864, allocations: 39.97 kB / 0.6266 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.1867, allocations: 234.9 kB / 0.6268 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1867, allocations: 4 kB / 0.6268 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1867, allocations: 0 / 0.6268 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1867, allocations: 3.938 kB / 0.6268 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.1879, allocations: 0.7342 MB / 0.6275 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.188, allocations: 4 kB / 0.6275 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1882, allocations: 59.91 kB / 0.6276 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.1882, allocations: 8.422 kB / 0.6276 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.1882, allocations: 16 kB / 0.6276 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1882, allocations: 4 kB / 0.6276 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1882, allocations: 7.938 kB / 0.6276 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.1887, allocations: 0.4981 MB / 0.6281 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1889, allocations: 71.52 kB / 0.6282 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.1889, allocations: 8 kB / 0.6282 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1891, allocations: 31.97 kB / 0.6282 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.1892, allocations: 51.89 kB / 0.6282 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1892, allocations: 12 kB / 0.6283 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001226/0.1893, allocations: 144.6 kB / 0.6284 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1893, allocations: 0 / 0.6284 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004078/0.1897, allocations: 159.8 kB / 0.6285 GB, free: 2.496 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.0002459/0.19, allocations: 128.2 kB / 0.6287 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.1904, allocations: 367.3 kB / 0.629 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.1904, allocations: 4 kB / 0.629 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1905, allocations: 101.9 kB / 0.6291 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.1911, allocations: 227.6 kB / 0.6293 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1925, allocations: 0.9056 MB / 0.6302 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.1926, allocations: 129.8 kB / 0.6303 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000244/0.1928, allocations: 80.14 kB / 0.6304 GB, free: 452 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.1932, allocations: 197.2 kB / 0.6306 GB, free: 252 kB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/0.1932, allocations: 7.938 kB / 0.6306 GB, free: 244 kB / 0.5886 GB Notification: Performance of Templates: time 0.01206/0.2052, allocations: 9.353 MB / 0.6397 GB, free: 7.16 MB / 0.6042 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.240359428804368]