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.0009227/0.0009227, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009119/0.0009119, allocations: 165 kB / 23.02 MB, free: 1.551 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.082 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.09218/0.09218, allocations: 17.47 MB / 277.4 MB, free: 11.39 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.963e-06/1.963e-06, allocations: 0 / 353.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.853e-05, allocations: 2.312 kB / 353.5 MB, free: 10.87 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.03169/0.03172, allocations: 32.8 MB / 386.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.0429, allocations: 9.83 MB / 396.2 MB, free: 284 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.04415, allocations: 59.56 kB / 396.2 MB, free: 224 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.04663, allocations: 1.048 MB / 397.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.04892, allocations: 1.097 MB / 398.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.05118, allocations: 1.108 MB / 399.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.05434, allocations: 2.267 MB / 401.7 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.05487, allocations: 436.5 kB / 402.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.05618, allocations: 1.337 MB / 403.5 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.05721, allocations: 0.943 MB / 404.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.0574, allocations: 212 kB / 404.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.06002, allocations: 1.36 MB / 406 MB, free: 6.348 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.06042, allocations: 0.6697 MB / 406.7 MB, free: 5.676 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006303/0.06105, allocations: 0.7481 MB / 407.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004367/0.06542, allocations: 3.161 MB / 410.6 MB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.06542, allocations: 0 / 410.6 MB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.06542, allocations: 0 / 410.6 MB, free: 1.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.474e-05/0.06546, allocations: 0 / 410.6 MB, free: 1.754 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.002903/0.06836, allocations: 2.859 MB / 413.5 MB, free: 14.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.0684, allocations: 15.97 kB / 413.5 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/0.06939, allocations: 0.9636 MB / 414.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.07092, allocations: 1.299 MB / 415.7 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.0711, allocations: 271.4 kB / 416 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.07129, allocations: 208.3 kB / 416.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.07436, allocations: 2.847 MB / 419 MB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.07439, allocations: 192 / 419 MB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.07449, allocations: 92.05 kB / 419.1 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/0.07473, allocations: 332.8 kB / 419.5 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004299/0.07903, allocations: 3.68 MB / 423.1 MB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009146/0.08818, allocations: 8.616 MB / 431.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.08911, allocations: 0.52 MB / 432.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.08948, allocations: 226.6 kB / 432.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003776/0.09326, allocations: 3.222 MB / 435.7 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.09329, allocations: 45.89 kB / 435.8 MB, free: 8.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.274e-06/0.09329, allocations: 0 / 435.8 MB, free: 8.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003883/0.09717, allocations: 2.012 MB / 437.8 MB, free: 6.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.0972, allocations: 60.06 kB / 437.8 MB, free: 6.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.09812, allocations: 1.093 MB / 438.9 MB, free: 4.957 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.09817, allocations: 37.7 kB / 439 MB, free: 4.914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005993/0.09877, allocations: 1.29 MB / 440.3 MB, free: 3.609 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.09892, allocations: 249.9 kB / 440.5 MB, free: 3.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.09923, allocations: 308.4 kB / 440.8 MB, free: 3.051 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.09938, allocations: 0.5316 MB / 441.3 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.09973, allocations: 198.5 kB / 441.5 MB, free: 2.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.1004, allocations: 0.895 MB / 442.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1457/0.2461, allocations: 1.193 MB / 443.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-05/0.2461, allocations: 4 kB / 443.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002467/0.2486, allocations: 1.249 MB / 444.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.2486, allocations: 9.406 kB / 444.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.2486, allocations: 18.81 kB / 444.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.2489, allocations: 99.22 kB / 445 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.2506, allocations: 499.1 kB / 445.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.2525, allocations: 3.542 MB / 449 MB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.2532, allocations: 43.88 kB / 449.1 MB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.2534, allocations: 164.5 kB / 449.2 MB, free: 97.73 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.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.0006955/0.2541, allocations: 239.4 kB / 449.5 MB, free: 97.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.2543, allocations: 158.2 kB / 449.6 MB, free: 97.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.2562, allocations: 1.289 MB / 450.9 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2562, allocations: 6.344 kB / 450.9 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2562, allocations: 0 / 450.9 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2562, allocations: 9.266 kB / 450.9 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.2592, allocations: 2.262 MB / 453.2 MB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2592, allocations: 3.406 kB / 453.2 MB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/0.2602, allocations: 258.2 kB / 453.4 MB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.2603, allocations: 77.72 kB / 453.5 MB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.2604, allocations: 20.08 kB / 453.5 MB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.2616, allocations: 3.498 MB / 457 MB, free: 93.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.2616, allocations: 5.781 kB / 457 MB, free: 93.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.2629, allocations: 0.9762 MB / 458 MB, free: 93.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.2631, allocations: 104.7 kB / 458.1 MB, free: 93.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.2632, allocations: 14.16 kB / 458.1 MB, free: 93.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.2634, allocations: 27.91 kB / 458.2 MB, free: 93.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.2635, allocations: 56.55 kB / 458.2 MB, free: 93.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.2635, allocations: 23.72 kB / 458.2 MB, free: 93.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006358/0.2642, allocations: 0.638 MB / 458.9 MB, free: 92.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2642, allocations: 0 / 458.9 MB, free: 92.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001345/0.2655, allocations: 417.1 kB / 459.3 MB, free: 92.86 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.0005649/0.2661, allocations: 358.8 kB / 459.6 MB, free: 92.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.2674, allocations: 0.9707 MB / 460.6 MB, free: 92.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2674, allocations: 0 / 460.6 MB, free: 92.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.2679, allocations: 0.5399 MB / 461.1 MB, free: 92.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.2688, allocations: 324.3 kB / 461.5 MB, free: 92.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.2735, allocations: 3.37 MB / 464.8 MB, free: 90.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.2739, allocations: 438.5 kB / 465.3 MB, free: 90.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009178/0.2748, allocations: 385.7 kB / 465.6 MB, free: 90.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.2751, allocations: 155.3 kB / 465.8 MB, free: 90.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2751, allocations: 0 / 465.8 MB, free: 90.33 MB / 410.7 MB Notification: Performance of Templates: time 0.02786/0.303, allocations: 20.88 MB / 486.7 MB, free: 88.75 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.7958407578989863]