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.001064/0.001064, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001751/0.001751, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.102/1.102, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.1215/0.1215, allocations: 17.46 MB / 277.7 MB, free: 11.41 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 2.054e-06/2.054e-06, allocations: 0 / 354 MB, free: 9.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.601e-05, allocations: 2.312 kB / 354 MB, free: 9.594 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.03034/0.03036, allocations: 32.64 MB / 386.6 MB, free: 9.062 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.04088, allocations: 9.694 MB / 396.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.04189, allocations: 55.56 kB / 396.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.04427, allocations: 1.064 MB / 397.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.04631, allocations: 1.09 MB / 398.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.04867, allocations: 1.115 MB / 399.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.05064, allocations: 2.266 MB / 401.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.05113, allocations: 436.5 kB / 402.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.05219, allocations: 1.329 MB / 403.7 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009618/0.05315, allocations: 0.9546 MB / 404.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.05335, allocations: 212 kB / 404.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.05562, allocations: 1.357 MB / 406.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005282/0.05614, allocations: 0.6697 MB / 406.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000925/0.05707, allocations: 0.7442 MB / 407.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004357/0.06143, allocations: 3.161 MB / 410.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.06143, allocations: 4 kB / 410.8 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.06143, allocations: 0 / 410.8 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.773e-05/0.06151, allocations: 4 kB / 410.8 MB, free: 0.793 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.1698/0.2313, allocations: 2.869 MB / 413.6 MB, free: 47.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2313, allocations: 9.344 kB / 413.6 MB, free: 47.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.2326, allocations: 0.9532 MB / 414.6 MB, free: 47.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.234, allocations: 1.293 MB / 415.9 MB, free: 47.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.2342, allocations: 275.9 kB / 416.2 MB, free: 46.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.2344, allocations: 209.3 kB / 416.4 MB, free: 46.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.2372, allocations: 2.409 MB / 418.8 MB, free: 46.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.2372, allocations: 3.75 kB / 418.8 MB, free: 46.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/0.2373, allocations: 83.09 kB / 418.9 MB, free: 46.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002724/0.2376, allocations: 333.2 kB / 419.2 MB, free: 46.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/0.2405, allocations: 2.91 MB / 422.1 MB, free: 46.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007846/0.2484, allocations: 8.213 MB / 430.3 MB, free: 43.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.2491, allocations: 0.489 MB / 430.8 MB, free: 42.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.2494, allocations: 194.6 kB / 431 MB, free: 42.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003282/0.2527, allocations: 3.23 MB / 434.2 MB, free: 40.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2527, allocations: 43.83 kB / 434.3 MB, free: 39.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 2.014e-06/0.2527, allocations: 0 / 434.3 MB, free: 39.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.002775/0.2555, allocations: 1.688 MB / 435.9 MB, free: 38.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.2555, allocations: 56.06 kB / 436 MB, free: 38.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.2561, allocations: 1.082 MB / 437.1 MB, free: 37.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.2562, allocations: 37.7 kB / 437.1 MB, free: 37.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.2566, allocations: 1.297 MB / 438.4 MB, free: 36.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.2567, allocations: 250.1 kB / 438.7 MB, free: 35.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.257, allocations: 311.8 kB / 439 MB, free: 35.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.2571, allocations: 0.5355 MB / 439.5 MB, free: 35.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.2573, allocations: 166.5 kB / 439.7 MB, free: 34.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.2577, allocations: 0.8618 MB / 440.5 MB, free: 33.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/0.2584, allocations: 1.148 MB / 441.7 MB, free: 32.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2584, allocations: 7.938 kB / 441.7 MB, free: 32.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001416/0.2598, allocations: 1.166 MB / 442.8 MB, free: 31.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2599, allocations: 12 kB / 442.9 MB, free: 31.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2599, allocations: 16 kB / 442.9 MB, free: 31.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.26, allocations: 93.97 kB / 443 MB, free: 31.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.2612, allocations: 496.8 kB / 443.4 MB, free: 30.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.2623, allocations: 3.508 MB / 447 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.2627, allocations: 43.98 kB / 447 MB, free: 27.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.2628, allocations: 156 kB / 447.1 MB, free: 26.86 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.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.0003413/0.2631, allocations: 243.5 kB / 447.4 MB, free: 26.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.2633, allocations: 153.9 kB / 447.5 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.2649, allocations: 1.248 MB / 448.8 MB, free: 25.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.2649, allocations: 11.98 kB / 448.8 MB, free: 25.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2649, allocations: 0 / 448.8 MB, free: 25.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2649, allocations: 3.938 kB / 448.8 MB, free: 25.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.2671, allocations: 1.814 MB / 450.6 MB, free: 23.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2671, allocations: 4 kB / 450.6 MB, free: 23.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008135/0.2679, allocations: 267.3 kB / 450.9 MB, free: 23.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.268, allocations: 71.19 kB / 450.9 MB, free: 23.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.268, allocations: 16 kB / 451 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009842/0.269, allocations: 3.464 MB / 454.4 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.269, allocations: 4 kB / 454.4 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.2699, allocations: 0.9101 MB / 455.3 MB, free: 18.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.27, allocations: 101 kB / 455.4 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.2701, allocations: 16 kB / 455.5 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.2703, allocations: 23.94 kB / 455.5 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.2704, allocations: 56.16 kB / 455.5 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.2704, allocations: 19.98 kB / 455.6 MB, free: 18.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003423/0.2707, allocations: 0.5996 MB / 456.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2707, allocations: 0 / 456.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009723/0.2717, allocations: 430.3 kB / 456.6 MB, free: 17.51 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.0004/0.2721, allocations: 367.3 kB / 456.9 MB, free: 17.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008216/0.2729, allocations: 0.9229 MB / 457.9 MB, free: 16.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2729, allocations: 2.688 kB / 457.9 MB, free: 16.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.2732, allocations: 0.5159 MB / 458.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.274, allocations: 322.8 kB / 458.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.2776, allocations: 3.369 MB / 462.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2779, allocations: 439.3 kB / 462.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006851/0.2786, allocations: 362.2 kB / 462.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/0.2792, allocations: 407.5 kB / 463.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2792, allocations: 0 / 463.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of Templates: time 0.02926/0.3084, allocations: 24.21 MB / 487.5 MB, free: 4.039 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.860076094046235]