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.001048/0.001048, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001656/0.001656, allocations: 169 kB / 23.02 MB, free: 1.555 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 0.953/0.953, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.08903/0.08903, allocations: 17.47 MB / 277.4 MB, free: 11.57 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.783e-06/1.783e-06, allocations: 0 / 353.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.172e-05, allocations: 9.344 kB / 353.5 MB, free: 9.867 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.02796/0.02798, allocations: 32.78 MB / 386.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.04025, allocations: 9.831 MB / 396.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.04128, allocations: 59.5 kB / 396.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.04357, allocations: 1.056 MB / 397.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.04547, allocations: 1.09 MB / 398.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.04772, allocations: 1.119 MB / 399.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.04937, allocations: 2.259 MB / 401.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.04984, allocations: 436.5 kB / 402.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009142/0.05075, allocations: 1.329 MB / 403.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008888/0.05164, allocations: 0.9546 MB / 404.4 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.05181, allocations: 212 kB / 404.6 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.05403, allocations: 1.36 MB / 406 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.0544, allocations: 0.6697 MB / 406.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.05488, allocations: 0.7442 MB / 407.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.05735, allocations: 3.165 MB / 410.6 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.05735, allocations: 4 kB / 410.6 MB, free: 0.793 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.05735, allocations: 3.984 kB / 410.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.05737, allocations: 0 / 410.6 MB, free: 0.7891 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.1511/0.2085, allocations: 2.848 MB / 413.4 MB, free: 47.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2085, allocations: 10.38 kB / 413.4 MB, free: 47.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.2098, allocations: 0.9533 MB / 414.4 MB, free: 47.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.2112, allocations: 1.3 MB / 415.7 MB, free: 46.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.2113, allocations: 282.7 kB / 416 MB, free: 46.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.2115, allocations: 210.3 kB / 416.2 MB, free: 46.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.215, allocations: 2.846 MB / 419 MB, free: 46.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.215, allocations: 192 / 419 MB, free: 46.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.2151, allocations: 85.25 kB / 419.1 MB, free: 46.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002855/0.2154, allocations: 333.8 kB / 419.4 MB, free: 46.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003855/0.2193, allocations: 3.682 MB / 423.1 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007128/0.2264, allocations: 8.614 MB / 431.7 MB, free: 41.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.2272, allocations: 0.5218 MB / 432.3 MB, free: 40.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.2275, allocations: 226.1 kB / 432.5 MB, free: 40.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003113/0.2307, allocations: 3.22 MB / 435.7 MB, free: 38.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2307, allocations: 37.89 kB / 435.7 MB, free: 38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 1.353e-06/0.2307, allocations: 2.125 kB / 435.7 MB, free: 38 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.002897/0.2336, allocations: 2.022 MB / 437.8 MB, free: 36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.2336, allocations: 62.75 kB / 437.8 MB, free: 35.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.2343, allocations: 1.093 MB / 438.9 MB, free: 34.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.2343, allocations: 37.7 kB / 438.9 MB, free: 34.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.2347, allocations: 1.292 MB / 440.2 MB, free: 33.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.2348, allocations: 248.9 kB / 440.5 MB, free: 33.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.235, allocations: 312.4 kB / 440.8 MB, free: 32.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.2351, allocations: 0.5277 MB / 441.3 MB, free: 32.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.2354, allocations: 197.1 kB / 441.5 MB, free: 32.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.2358, allocations: 0.8944 MB / 442.4 MB, free: 31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.2367, allocations: 1.198 MB / 443.6 MB, free: 29.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2367, allocations: 6.656 kB / 443.6 MB, free: 29.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002091/0.2388, allocations: 1.243 MB / 444.8 MB, free: 28.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.2388, allocations: 14.41 kB / 444.9 MB, free: 28.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.2388, allocations: 16 kB / 444.9 MB, free: 28.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.2391, allocations: 98.41 kB / 445 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.2407, allocations: 492.3 kB / 445.5 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.2428, allocations: 3.55 MB / 449 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008186/0.2436, allocations: 50.61 kB / 449.1 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.2437, allocations: 164 kB / 449.2 MB, free: 23.88 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.0005129/0.2442, allocations: 233 kB / 449.4 MB, free: 23.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.2445, allocations: 151.2 kB / 449.6 MB, free: 23.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.2461, allocations: 1.296 MB / 450.9 MB, free: 22.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2461, allocations: 8 kB / 450.9 MB, free: 22.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2461, allocations: 2.688 kB / 450.9 MB, free: 22.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2461, allocations: 3.984 kB / 450.9 MB, free: 22.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.2487, allocations: 2.275 MB / 453.2 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2487, allocations: 4 kB / 453.2 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008603/0.2496, allocations: 267.2 kB / 453.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.2497, allocations: 65.89 kB / 453.5 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.2498, allocations: 22.67 kB / 453.5 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00099/0.2507, allocations: 3.503 MB / 457 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.2507, allocations: 6.625 kB / 457 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.2519, allocations: 0.9682 MB / 458 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.252, allocations: 107.2 kB / 458.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.2521, allocations: 16 kB / 458.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2523, allocations: 25.3 kB / 458.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.2524, allocations: 56.2 kB / 458.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2524, allocations: 23.98 kB / 458.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004506/0.2529, allocations: 0.634 MB / 458.9 MB, free: 14 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2529, allocations: 0 / 458.9 MB, free: 14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001026/0.2539, allocations: 423.7 kB / 459.3 MB, free: 13.58 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.0004227/0.2543, allocations: 358.1 kB / 459.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.2554, allocations: 0.9732 MB / 460.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2554, allocations: 0 / 460.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.2558, allocations: 0.5363 MB / 461.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/0.2565, allocations: 331.7 kB / 461.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.2604, allocations: 3.38 MB / 464.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.2607, allocations: 444.7 kB / 465.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007786/0.2615, allocations: 386.3 kB / 465.7 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.2618, allocations: 155.9 kB / 465.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2618, allocations: 0 / 465.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of Templates: time 0.02914/0.2909, allocations: 24.05 MB / 489.9 MB, free: 396 kB / 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.8182082530111074]