Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.SimpleFlow.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.001009/0.001009, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.00239, 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.001089/0.001089, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002688, 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.988/0.988, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07964/1.068, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09432/0.09432, allocations: 17.44 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01149/0.1058, allocations: 6.967 MB / 268.4 MB, free: 6.398 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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(Chemical.Processes.Tests.SimpleFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.SimpleFlow") translateModel(Chemical.Processes.Tests.SimpleFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.SimpleFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 269.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.118e-05, allocations: 6.25 kB / 269.6 MB, free: 5.133 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Boundaries.mo:1343:7-1343:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Boundaries.mo:1343:7-1343:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.SimpleFlow): time 0.1295/0.1295, allocations: 9.059 MB / 278.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.1477, allocations: 9.911 MB / 288.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.1487, allocations: 60.31 kB / 288.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.1512, allocations: 1.08 MB / 289.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.1531, allocations: 1.094 MB / 290.8 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.1552, allocations: 1.111 MB / 292 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1573, allocations: 2.273 MB / 294.2 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.1579, allocations: 462.4 kB / 294.7 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.1592, allocations: 1.403 MB / 296.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.1603, allocations: 0.9277 MB / 297 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.1605, allocations: 208.7 kB / 297.2 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.1631, allocations: 1.372 MB / 298.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.1635, allocations: 0.5608 MB / 299.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.1642, allocations: 0.6392 MB / 299.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.1666, allocations: 2.935 MB / 302.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.99e-05/0.1667, allocations: 0 / 302.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1667, allocations: 0 / 302.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.606e-05/0.1667, allocations: 0 / 302.7 MB, free: 1.379 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.00269/0.1694, allocations: 3.046 MB / 305.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1694, allocations: 12.03 kB / 305.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008774/0.1703, allocations: 0.9465 MB / 306.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/0.1713, allocations: 0.8824 MB / 307.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003616/0.1716, allocations: 275.4 kB / 307.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.1718, allocations: 208.3 kB / 308.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.1737, allocations: 2.445 MB / 310.5 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.1737, allocations: 2.797 kB / 310.5 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/0.1738, allocations: 81.48 kB / 310.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.174, allocations: 332.8 kB / 310.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.1762, allocations: 2.907 MB / 313.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0066/0.1828, allocations: 6.832 MB / 320.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/0.1834, allocations: 461.2 kB / 321.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.1836, allocations: 147.8 kB / 321.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003172/0.1868, allocations: 2.603 MB / 323.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1868, allocations: 39.06 kB / 323.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 1.583e-06/0.1868, allocations: 0 / 323.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002204/0.189, allocations: 1.231 MB / 325.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.1891, allocations: 60.06 kB / 325.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.1895, allocations: 0.8251 MB / 326 MB, free: 9.676 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.1896, allocations: 37.7 kB / 326.1 MB, free: 9.633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.19, allocations: 1.046 MB / 327.1 MB, free: 8.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1901, allocations: 249.9 kB / 327.3 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.1903, allocations: 258.6 kB / 327.6 MB, free: 8.066 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.1904, allocations: 353.8 kB / 327.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1906, allocations: 126.5 kB / 328.1 MB, free: 7.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.191, allocations: 0.6253 MB / 328.7 MB, free: 6.738 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/0.1919, allocations: 0.8904 MB / 329.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1919, allocations: 4 kB / 329.6 MB, free: 5.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001148/0.1931, allocations: 0.8587 MB / 330.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1931, allocations: 16.92 kB / 330.5 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.1931, allocations: 16 kB / 330.5 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/0.1933, allocations: 89.61 kB / 330.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.1947, allocations: 0.6007 MB / 331.2 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.196, allocations: 2.399 MB / 333.6 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.1963, allocations: 44 kB / 333.6 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.1965, allocations: 140 kB / 333.7 MB, free: 1.262 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 2 (substance.substanceDefinitionVar.data.phase,substance.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002905/0.1968, allocations: 196.3 kB / 333.9 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.1969, allocations: 99.89 kB / 334 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.1984, allocations: 1.11 MB / 335.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1984, allocations: 8 kB / 335.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1984, allocations: 3.984 kB / 335.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1984, allocations: 0 / 335.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.2002, allocations: 1.347 MB / 336.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2002, allocations: 4 kB / 336.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009939/0.2012, allocations: 360 kB / 336.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.2013, allocations: 99.23 kB / 337 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.2014, allocations: 61.66 kB / 337 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.2014, allocations: 19.98 kB / 337 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.2026, allocations: 2.367 MB / 339.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2026, allocations: 4 kB / 339.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.2034, allocations: 0.7533 MB / 340.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.2035, allocations: 15.94 kB / 340.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.2036, allocations: 23.98 kB / 340.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.2037, allocations: 56.28 kB / 340.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2037, allocations: 20.02 kB / 340.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002926/0.204, allocations: 427.9 kB / 340.7 MB, free: 9.926 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.204, allocations: 0 / 340.7 MB, free: 9.926 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008202/0.2048, allocations: 419.7 kB / 341.1 MB, free: 9.516 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (substance.logn,substance1.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004476/0.2053, allocations: 344 kB / 341.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008179/0.2061, allocations: 0.7373 MB / 342.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-05/0.2061, allocations: 21.81 kB / 342.2 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.2065, allocations: 404.3 kB / 342.6 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.2075, allocations: 435.5 kB / 343 MB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008829/0.2164, allocations: 3.543 MB / 346.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2167, allocations: 440.7 kB / 347 MB, free: 3.473 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006919/0.2174, allocations: 360.6 kB / 347.3 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.2179, allocations: 357.1 kB / 347.7 MB, free: 2.77 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2179, allocations: 0 / 347.7 MB, free: 2.77 MB / 330.7 MB Notification: Performance of Templates: time 0.02939/0.2473, allocations: 24.69 MB / 372.4 MB, free: 10.33 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.SimpleFlow.sim & ./Chemical_master_Chemical.Processes.Tests.SimpleFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.364638701081276]