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.0009946/0.0009946, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009865/0.0009865, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.054/1.054, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.09351/0.09351, allocations: 17.47 MB / 278.5 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 1.352e-06/1.352e-06, allocations: 0 / 354.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.203e-05, allocations: 5.547 kB / 354.8 MB, free: 10.48 MB / 330.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.03309/0.03312, allocations: 32.64 MB / 387.4 MB, free: 9.922 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.04466, allocations: 9.693 MB / 397.1 MB, free: 192 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.04601, allocations: 51.56 kB / 397.1 MB, free: 140 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.0486, allocations: 1.06 MB / 398.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.05172, allocations: 1.094 MB / 399.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.05526, allocations: 1.119 MB / 400.4 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.05824, allocations: 2.263 MB / 402.7 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006237/0.05886, allocations: 436.5 kB / 403.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.06063, allocations: 1.329 MB / 404.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.06194, allocations: 0.9507 MB / 405.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.06228, allocations: 212 kB / 405.6 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.06523, allocations: 1.357 MB / 407 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004103/0.06564, allocations: 0.6697 MB / 407.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.06669, allocations: 0.752 MB / 408.4 MB, free: 4.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006003/0.07269, allocations: 3.157 MB / 411.5 MB, free: 1.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.0727, allocations: 4 kB / 411.5 MB, free: 1.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0727, allocations: 0 / 411.5 MB, free: 1.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000105/0.07281, allocations: 4 kB / 411.5 MB, free: 1.652 MB / 378.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.003855/0.07666, allocations: 2.867 MB / 414.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.0767, allocations: 12.03 kB / 414.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.07785, allocations: 0.9636 MB / 415.4 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.0793, allocations: 1.291 MB / 416.7 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.07952, allocations: 271.4 kB / 416.9 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.07974, allocations: 208.3 kB / 417.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.0826, allocations: 2.405 MB / 419.5 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.08264, allocations: 192 / 419.5 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.08277, allocations: 88.11 kB / 419.6 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003228/0.08309, allocations: 332.8 kB / 420 MB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.08672, allocations: 2.915 MB / 422.9 MB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.09873, allocations: 8.213 MB / 431.1 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.09977, allocations: 484.6 kB / 431.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.1002, allocations: 198.6 kB / 431.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00549/0.1057, allocations: 3.216 MB / 435 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1057, allocations: 37.89 kB / 435 MB, free: 9.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.306e-06/0.1057, allocations: 0 / 435 MB, free: 9.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.004234/0.1099, allocations: 1.697 MB / 436.7 MB, free: 8.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.11, allocations: 60.06 kB / 436.8 MB, free: 7.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1111, allocations: 1.077 MB / 437.8 MB, free: 6.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.1111, allocations: 33.7 kB / 437.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/0.1119, allocations: 1.301 MB / 439.2 MB, free: 5.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.1121, allocations: 245.9 kB / 439.4 MB, free: 5.289 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.1125, allocations: 320.3 kB / 439.7 MB, free: 4.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1127, allocations: 0.5354 MB / 440.3 MB, free: 4.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.113, allocations: 158.5 kB / 440.4 MB, free: 4.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.1138, allocations: 0.8676 MB / 441.3 MB, free: 3.082 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.1152, allocations: 1.15 MB / 442.4 MB, free: 1.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.1152, allocations: 11.94 kB / 442.4 MB, free: 1.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002267/0.1175, allocations: 1.16 MB / 443.6 MB, free: 444 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.1175, allocations: 12 kB / 443.6 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.1176, allocations: 16.91 kB / 443.6 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.1178, allocations: 95.31 kB / 443.7 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1569/0.2748, allocations: 492.2 kB / 444.2 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.2764, allocations: 3.504 MB / 447.7 MB, free: 98.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.2772, allocations: 46.02 kB / 447.8 MB, free: 98.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.2774, allocations: 156.2 kB / 447.9 MB, free: 98.59 MB / 410.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.0006654/0.278, allocations: 235.5 kB / 448.1 MB, free: 98.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.2783, allocations: 153.9 kB / 448.3 MB, free: 98.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.2801, allocations: 1.263 MB / 449.6 MB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2801, allocations: 6.625 kB / 449.6 MB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2801, allocations: 0 / 449.6 MB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2801, allocations: 3.422 kB / 449.6 MB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.2826, allocations: 1.797 MB / 451.4 MB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2826, allocations: 9.156 kB / 451.4 MB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/0.2836, allocations: 262.6 kB / 451.6 MB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.2837, allocations: 66.66 kB / 451.7 MB, free: 97.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.2837, allocations: 22.94 kB / 451.7 MB, free: 97.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.2849, allocations: 3.461 MB / 455.2 MB, free: 94.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.285, allocations: 3.125 kB / 455.2 MB, free: 94.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2861, allocations: 0.919 MB / 456.1 MB, free: 93.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2862, allocations: 95.11 kB / 456.2 MB, free: 93.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.2863, allocations: 20.27 kB / 456.2 MB, free: 93.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2865, allocations: 17.19 kB / 456.2 MB, free: 93.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.2866, allocations: 61.16 kB / 456.3 MB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.2866, allocations: 19.19 kB / 456.3 MB, free: 93.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004027/0.287, allocations: 0.5982 MB / 456.9 MB, free: 93.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.287, allocations: 0 / 456.9 MB, free: 93.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001391/0.2884, allocations: 422.3 kB / 457.3 MB, free: 93.76 MB / 410.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.0004547/0.2888, allocations: 364.9 kB / 457.7 MB, free: 93.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.2898, allocations: 0.928 MB / 458.6 MB, free: 93.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2898, allocations: 0 / 458.6 MB, free: 93.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.2902, allocations: 0.5219 MB / 459.1 MB, free: 92.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.291, allocations: 308.1 kB / 459.4 MB, free: 92.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.2954, allocations: 3.362 MB / 462.8 MB, free: 91.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.2957, allocations: 444 kB / 463.2 MB, free: 91.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008807/0.2966, allocations: 358.2 kB / 463.6 MB, free: 91.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.2972, allocations: 402.1 kB / 464 MB, free: 91.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2972, allocations: 0 / 464 MB, free: 91.16 MB / 410.7 MB Notification: Performance of Templates: time 0.03546/0.3326, allocations: 24.53 MB / 488.5 MB, free: 88.58 MB / 410.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.933111736085266]