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.001898/0.001898, allocations: 80.73 kB / 19.44 MB, free: 352 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.002511/0.002511, allocations: 157.7 kB / 22.75 MB, free: 1.676 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.1431/0.1431, allocations: 17.45 MB / 277 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.944e-06/1.944e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.447e-05/3.642e-05, allocations: 9.203 kB / 352.8 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.04906/0.04909, allocations: 29.33 MB / 382.1 MB, free: 13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.06696, allocations: 8.961 MB / 391.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.06927, allocations: 59.56 kB / 391.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004706/0.07397, allocations: 1.044 MB / 392.2 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.07832, allocations: 1.094 MB / 393.3 MB, free: 1.793 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.08231, allocations: 1.123 MB / 394.4 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00453/0.08684, allocations: 2.252 MB / 396.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.08786, allocations: 440.5 kB / 397.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.09066, allocations: 1.325 MB / 398.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.09277, allocations: 0.9507 MB / 399.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003518/0.09312, allocations: 212 kB / 399.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004302/0.09742, allocations: 1.36 MB / 400.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008054/0.09823, allocations: 0.6697 MB / 401.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.09957, allocations: 0.7442 MB / 402.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008809/0.1084, allocations: 4.077 MB / 406.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1084, allocations: 0 / 406.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1084, allocations: 0 / 406.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.667e-05/0.1085, allocations: 0 / 406.4 MB, free: 4.57 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.005325/0.1138, allocations: 2.596 MB / 409 MB, free: 1.926 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1139, allocations: 8.031 kB / 409 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.1157, allocations: 0.9753 MB / 410 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.16/0.2756, allocations: 1.312 MB / 411.3 MB, free: 62.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/0.2759, allocations: 271 kB / 411.6 MB, free: 62.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/0.2762, allocations: 202.4 kB / 411.8 MB, free: 62.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00891/0.2851, allocations: 7.398 MB / 419.2 MB, free: 59.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.2852, allocations: 2.094 kB / 419.2 MB, free: 59.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.2853, allocations: 87.58 kB / 419.3 MB, free: 59.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003946/0.2857, allocations: 331.6 kB / 419.6 MB, free: 59.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.2968, allocations: 13.34 MB / 432.9 MB, free: 48.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.3116, allocations: 10.44 MB / 443.4 MB, free: 38.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.3131, allocations: 0.7341 MB / 444.1 MB, free: 38.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.3138, allocations: 403.7 kB / 444.5 MB, free: 37.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006245/0.32, allocations: 3.447 MB / 448 MB, free: 34.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.32, allocations: 41.72 kB / 448 MB, free: 34.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 2.725e-06/0.32, allocations: 0 / 448 MB, free: 34.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.006444/0.3265, allocations: 2.537 MB / 450.5 MB, free: 31.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.3265, allocations: 60.06 kB / 450.6 MB, free: 31.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.3278, allocations: 1.035 MB / 451.6 MB, free: 30.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/0.3278, allocations: 33.7 kB / 451.7 MB, free: 30.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.3284, allocations: 1.194 MB / 452.9 MB, free: 29.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.3286, allocations: 249.7 kB / 453.1 MB, free: 29.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.3289, allocations: 294.8 kB / 453.4 MB, free: 28.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.329, allocations: 345.3 kB / 453.7 MB, free: 28.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.3296, allocations: 378.5 kB / 454.1 MB, free: 28.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.3304, allocations: 0.8519 MB / 454.9 MB, free: 27.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.3319, allocations: 1.315 MB / 456.3 MB, free: 25.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/0.3319, allocations: 8 kB / 456.3 MB, free: 25.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003649/0.3356, allocations: 1.598 MB / 457.9 MB, free: 23.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.3356, allocations: 12 kB / 457.9 MB, free: 23.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.3357, allocations: 20 kB / 457.9 MB, free: 23.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.3361, allocations: 133.6 kB / 458 MB, free: 23.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.3387, allocations: 0.5293 MB / 458.6 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.3411, allocations: 2.725 MB / 461.3 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3421, allocations: 51.98 kB / 461.3 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/0.3424, allocations: 168 kB / 461.5 MB, free: 20.17 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.001131/0.3435, allocations: 0.6092 MB / 462.1 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/0.3439, allocations: 151.2 kB / 462.3 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/0.3473, allocations: 1.438 MB / 463.7 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.3473, allocations: 11.19 kB / 463.7 MB, free: 18.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3474, allocations: 3.938 kB / 463.7 MB, free: 18.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3474, allocations: 3.984 kB / 463.7 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/0.352, allocations: 2.091 MB / 465.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.3521, allocations: 4 kB / 465.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.354, allocations: 310.3 kB / 466.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/0.3542, allocations: 90.95 kB / 466.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.3543, allocations: 26.58 kB / 466.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.3562, allocations: 2.641 MB / 468.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3562, allocations: 4 kB / 468.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.3587, allocations: 1.2 MB / 470.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.359, allocations: 105.9 kB / 470.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.3592, allocations: 16 kB / 470.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.3599, allocations: 23.98 kB / 470.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.36, allocations: 56.3 kB / 470.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.36, allocations: 23.98 kB / 470.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.3611, allocations: 0.7577 MB / 471 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3611, allocations: 0 / 471 MB, free: 10.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001756/0.3628, allocations: 423.7 kB / 471.5 MB, free: 9.992 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.0007289/0.3635, allocations: 360.1 kB / 471.8 MB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.3659, allocations: 1.079 MB / 472.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3659, allocations: 0 / 472.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009126/0.3668, allocations: 498.5 kB / 473.4 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.3684, allocations: 325 kB / 473.7 MB, free: 7.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/0.3744, allocations: 3.562 MB / 477.3 MB, free: 4.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.3756, allocations: 1.012 MB / 478.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001259/0.3769, allocations: 392.1 kB / 478.6 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/0.3774, allocations: 154.4 kB / 478.8 MB, free: 2.758 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3774, allocations: 0 / 478.8 MB, free: 2.758 MB / 330.7 MB Notification: Performance of Templates: time 0.04027/0.4177, allocations: 20.86 MB / 499.7 MB, free: 14.88 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=480 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.626983563997783]