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.0007628/0.0007628, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.001938, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007665/0.0007665, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009952/0.001762, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09788/1.126, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09165/0.09165, allocations: 17.45 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01133/0.103, allocations: 6.966 MB / 268.6 MB, free: 6.289 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.512e-06/1.512e-06, allocations: 0 / 269.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.271e-05, allocations: 2.312 kB / 269.8 MB, free: 5.004 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1637/0.1637, allocations: 9.064 MB / 278.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.1846, allocations: 9.923 MB / 288.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.1866, allocations: 59.09 kB / 288.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.1898, allocations: 1.081 MB / 290 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.1934, allocations: 1.093 MB / 291.1 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.1966, allocations: 1.107 MB / 292.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.2003, allocations: 2.271 MB / 294.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.2011, allocations: 469.6 kB / 294.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.2033, allocations: 1.404 MB / 296.3 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.2047, allocations: 0.9169 MB / 297.2 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.2051, allocations: 210 kB / 297.4 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.2088, allocations: 1.379 MB / 298.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.2092, allocations: 0.5686 MB / 299.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007672/0.21, allocations: 0.6392 MB / 300 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007252/0.2172, allocations: 2.908 MB / 302.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-05/0.2172, allocations: 0 / 302.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.357e-06/0.2172, allocations: 0 / 302.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.2174, allocations: 0 / 302.9 MB, free: 1.207 MB / 282.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.003468/0.2208, allocations: 3.048 MB / 306 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2209, allocations: 8.031 kB / 306 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.2219, allocations: 0.9465 MB / 306.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.223, allocations: 0.8901 MB / 307.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.2232, allocations: 273.9 kB / 308.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.2234, allocations: 204.3 kB / 308.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.2257, allocations: 2.445 MB / 310.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.2258, allocations: 4.125 kB / 310.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/0.2258, allocations: 88.11 kB / 310.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/0.2261, allocations: 316.8 kB / 311.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.2287, allocations: 2.907 MB / 314 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008117/0.2369, allocations: 6.83 MB / 320.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.2375, allocations: 465.2 kB / 321.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.2377, allocations: 147.8 kB / 321.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003329/0.2411, allocations: 2.599 MB / 324.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2411, allocations: 35.06 kB / 324.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 3.056e-06/0.2411, allocations: 4 kB / 324.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.005197/0.2463, allocations: 2.352 MB / 326.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.2463, allocations: 60.06 kB / 326.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.2469, allocations: 0.8328 MB / 327.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.247, allocations: 37.7 kB / 327.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.2474, allocations: 1.043 MB / 328.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.2476, allocations: 261.8 kB / 328.7 MB, free: 7.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.2478, allocations: 246.7 kB / 328.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.2479, allocations: 353.8 kB / 329.3 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2481, allocations: 130.5 kB / 329.4 MB, free: 6.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.2486, allocations: 0.6253 MB / 330 MB, free: 5.457 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009963/0.2496, allocations: 0.9334 MB / 330.9 MB, free: 4.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.2496, allocations: 7.938 kB / 331 MB, free: 4.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001639/0.2513, allocations: 0.8557 MB / 331.8 MB, free: 3.414 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.2513, allocations: 12 kB / 331.8 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.2513, allocations: 16 kB / 331.8 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.2515, allocations: 89.81 kB / 331.9 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.2535, allocations: 0.6046 MB / 332.5 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.2553, allocations: 2.398 MB / 334.9 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.2559, allocations: 40 kB / 335 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.2561, allocations: 140 kB / 335.1 MB, free: 15.94 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.0005815/0.2567, allocations: 206.1 kB / 335.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.2569, allocations: 99.89 kB / 335.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.2591, allocations: 1.112 MB / 336.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2591, allocations: 8 kB / 336.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2591, allocations: 0 / 336.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.2591, allocations: 7.922 kB / 336.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.2618, allocations: 1.343 MB / 337.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.2618, allocations: 3.984 kB / 337.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.2633, allocations: 360 kB / 338.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.2636, allocations: 95.25 kB / 338.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.2638, allocations: 57.67 kB / 338.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/0.2639, allocations: 23.92 kB / 338.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.2656, allocations: 2.371 MB / 340.8 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.2656, allocations: 7.938 kB / 340.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.2668, allocations: 0.7417 MB / 341.5 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.267, allocations: 19.98 kB / 341.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.2673, allocations: 23.94 kB / 341.6 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.2674, allocations: 56.38 kB / 341.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.2674, allocations: 16 kB / 341.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005121/0.2679, allocations: 423.9 kB / 342.1 MB, free: 8.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2679, allocations: 0 / 342.1 MB, free: 8.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001577/0.2695, allocations: 427.6 kB / 342.5 MB, free: 8.184 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.0006052/0.2701, allocations: 348 kB / 342.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.2714, allocations: 0.7605 MB / 343.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-05/0.2714, allocations: 21.81 kB / 343.6 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.272, allocations: 444.6 kB / 344 MB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.2738, allocations: 2.255 MB / 346.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.2873, allocations: 3.536 MB / 349.8 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.2879, allocations: 444.7 kB / 350.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001189/0.2891, allocations: 360.7 kB / 350.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007742/0.2898, allocations: 349.1 kB / 350.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.963e-06/0.2898, allocations: 0 / 350.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of Templates: time 0.03698/0.3268, allocations: 24.67 MB / 375.6 MB, free: 6.715 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=240 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.491669200360775]