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.0009401/0.0009401, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001083/0.001083, allocations: 169 kB / 23.49 MB, free: 1.047 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08913/0.08913, allocations: 17.46 MB / 277.7 MB, free: 11.61 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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.393e-06/1.393e-06, allocations: 0 / 353.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.79e-05, allocations: 14.19 kB / 353.6 MB, free: 10.2 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.03206/0.03209, allocations: 32.68 MB / 386.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.04349, allocations: 9.768 MB / 396 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.04487, allocations: 55.56 kB / 396.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.04742, allocations: 1.056 MB / 397.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.05035, allocations: 1.094 MB / 398.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.05277, allocations: 1.115 MB / 399.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.05538, allocations: 2.255 MB / 401.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006342/0.05602, allocations: 444.5 kB / 402 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.0575, allocations: 1.325 MB / 403.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.05871, allocations: 0.9507 MB / 404.3 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.05903, allocations: 211.9 kB / 404.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.06199, allocations: 1.357 MB / 405.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004133/0.06241, allocations: 0.6697 MB / 406.5 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008288/0.06324, allocations: 0.7481 MB / 407.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.06754, allocations: 3.161 MB / 410.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.06755, allocations: 0 / 410.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.06755, allocations: 0 / 410.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.94e-05/0.06761, allocations: 0 / 410.4 MB, free: 1.312 MB / 330.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.1434/0.211, allocations: 2.858 MB / 413.3 MB, free: 63.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.2111, allocations: 9 kB / 413.3 MB, free: 63.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.2124, allocations: 0.9571 MB / 414.3 MB, free: 63.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.2137, allocations: 1.303 MB / 415.6 MB, free: 62.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.2139, allocations: 268.8 kB / 415.8 MB, free: 62.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.2141, allocations: 208.2 kB / 416 MB, free: 62.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/0.2174, allocations: 2.851 MB / 418.9 MB, free: 61.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.2175, allocations: 4.938 kB / 418.9 MB, free: 61.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-05/0.2176, allocations: 86.64 kB / 419 MB, free: 61.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002654/0.2178, allocations: 334.9 kB / 419.3 MB, free: 61.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004408/0.2222, allocations: 3.678 MB / 423 MB, free: 60.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007227/0.2295, allocations: 8.616 MB / 431.6 MB, free: 52.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.2303, allocations: 0.5203 MB / 432.1 MB, free: 51.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.2306, allocations: 222.6 kB / 432.3 MB, free: 51.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003079/0.2337, allocations: 3.218 MB / 435.5 MB, free: 48.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.2337, allocations: 41.89 kB / 435.6 MB, free: 48.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 1.633e-06/0.2337, allocations: 1.25 kB / 435.6 MB, free: 48.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.003102/0.2368, allocations: 2.024 MB / 437.6 MB, free: 46.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.2368, allocations: 56.06 kB / 437.7 MB, free: 46.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.2375, allocations: 1.101 MB / 438.8 MB, free: 45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.2376, allocations: 35.83 kB / 438.8 MB, free: 44.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.2379, allocations: 1.293 MB / 440.1 MB, free: 43.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2381, allocations: 237.6 kB / 440.3 MB, free: 43.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.2383, allocations: 316.4 kB / 440.6 MB, free: 43.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.2384, allocations: 0.5238 MB / 441.2 MB, free: 42.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.2387, allocations: 205.5 kB / 441.4 MB, free: 42.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.2391, allocations: 0.8911 MB / 442.2 MB, free: 41.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/0.24, allocations: 1.196 MB / 443.4 MB, free: 39.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.2401, allocations: 6.656 kB / 443.4 MB, free: 39.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001727/0.2418, allocations: 1.252 MB / 444.7 MB, free: 38.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2418, allocations: 12 kB / 444.7 MB, free: 38.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.2418, allocations: 16 kB / 444.7 MB, free: 38.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.242, allocations: 100.6 kB / 444.8 MB, free: 38.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.2432, allocations: 499.4 kB / 445.3 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.2445, allocations: 3.544 MB / 448.9 MB, free: 34.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.2449, allocations: 46.69 kB / 448.9 MB, free: 34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.245, allocations: 174.6 kB / 449.1 MB, free: 33.83 MB / 330.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.SelfClustering,substance.substanceDefinitionVar.data.phase) * 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.0003837/0.2453, allocations: 232.1 kB / 449.3 MB, free: 33.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.2456, allocations: 155.2 kB / 449.5 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.2474, allocations: 1.286 MB / 450.7 MB, free: 32.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2474, allocations: 8 kB / 450.7 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2474, allocations: 0 / 450.7 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2474, allocations: 6.641 kB / 450.8 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.2498, allocations: 2.269 MB / 453 MB, free: 29.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2498, allocations: 10.69 kB / 453 MB, free: 29.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008642/0.2507, allocations: 257.1 kB / 453.3 MB, free: 29.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.2508, allocations: 79.31 kB / 453.4 MB, free: 29.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.2508, allocations: 16 kB / 453.4 MB, free: 29.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.2518, allocations: 3.503 MB / 456.9 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2518, allocations: 6.812 kB / 456.9 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2529, allocations: 0.975 MB / 457.9 MB, free: 24.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2531, allocations: 91.25 kB / 458 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.2531, allocations: 23.94 kB / 458 MB, free: 24.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.2534, allocations: 22.66 kB / 458 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.2534, allocations: 60.28 kB / 458.1 MB, free: 24.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.2535, allocations: 20 kB / 458.1 MB, free: 24.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004687/0.2539, allocations: 0.6379 MB / 458.7 MB, free: 23.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2539, allocations: 4 kB / 458.7 MB, free: 23.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001133/0.2551, allocations: 419.7 kB / 459.1 MB, free: 23.45 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.0004458/0.2555, allocations: 357 kB / 459.5 MB, free: 23.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.2566, allocations: 0.9724 MB / 460.4 MB, free: 22.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2567, allocations: 0 / 460.4 MB, free: 22.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.257, allocations: 0.5371 MB / 461 MB, free: 21.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.2578, allocations: 322.2 kB / 461.3 MB, free: 21.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.2616, allocations: 3.378 MB / 464.7 MB, free: 17.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2619, allocations: 444.7 kB / 465.1 MB, free: 17.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007433/0.2626, allocations: 388.8 kB / 465.5 MB, free: 17.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.2629, allocations: 156.8 kB / 465.6 MB, free: 17.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.863e-06/0.2629, allocations: 0 / 465.6 MB, free: 17.02 MB / 330.7 MB Notification: Performance of Templates: time 0.02287/0.2858, allocations: 20.88 MB / 486.5 MB, free: 13.25 MB / 346.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.7027436911594123]