Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Processes.Tests.TestMembrane.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.001329/0.001329, allocations: 92.7 kB / 19.44 MB, free: 324 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.001797/0.001797, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1624/0.1624, allocations: 17.38 MB / 276.9 MB, free: 11.66 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.08e-05/4.32e-05, allocations: 8.922 kB / 352.7 MB, free: 10.33 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328: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.0/Boundaries.mo:1328:7-1328: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.04778/0.04782, allocations: 28.97 MB / 381.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.06418, allocations: 8.158 MB / 389.8 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.06665, allocations: 23.88 kB / 389.8 MB, free: 5.273 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004866/0.07152, allocations: 0.9901 MB / 390.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.07532, allocations: 0.8413 MB / 391.7 MB, free: 3.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.07906, allocations: 0.9641 MB / 392.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004273/0.08333, allocations: 2.081 MB / 394.7 MB, free: 380 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.0844, allocations: 423.2 kB / 395.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.08739, allocations: 1.216 MB / 396.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.0892, allocations: 0.709 MB / 397 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004275/0.08962, allocations: 220 kB / 397.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.09379, allocations: 1.158 MB / 398.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007689/0.09456, allocations: 0.6619 MB / 399.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.09594, allocations: 0.7286 MB / 399.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008542/0.1045, allocations: 4.082 MB / 403.9 MB, free: 7.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1045, allocations: 0 / 403.9 MB, free: 7.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1045, allocations: 4 kB / 403.9 MB, free: 7.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.759e-05/0.1046, allocations: 0 / 403.9 MB, free: 7.117 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: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.005798/0.1104, allocations: 2.541 MB / 406.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1104, allocations: 12.03 kB / 406.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/0.1132, allocations: 1.08 MB / 407.5 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.1153, allocations: 1.081 MB / 408.6 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.1157, allocations: 371.2 kB / 409 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.116, allocations: 196.4 kB / 409.2 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1606/0.2766, allocations: 8.324 MB / 417.5 MB, free: 59.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/0.2767, allocations: 1.531 kB / 417.5 MB, free: 59.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.2768, allocations: 79.92 kB / 417.6 MB, free: 59.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003982/0.2772, allocations: 343.9 kB / 417.9 MB, free: 59.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.2893, allocations: 14.42 MB / 432.3 MB, free: 49.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/0.311, allocations: 18.78 MB / 451.1 MB, free: 31.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/0.3149, allocations: 3.449 MB / 454.6 MB, free: 27.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/0.3178, allocations: 2.794 MB / 457.3 MB, free: 24.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.3192, allocations: 0.5783 MB / 457.9 MB, free: 24.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3192, allocations: 43.56 kB / 458 MB, free: 24.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 3.657e-06/0.3192, allocations: 2.656 kB / 458 MB, free: 24.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.03619/0.3554, allocations: 16.67 MB / 474.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007499/0.3629, allocations: 6.437 MB / 481.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3641, allocations: 1.021 MB / 482.1 MB, free: 136 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003893/0.3644, allocations: 45.7 kB / 482.1 MB, free: 84 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008959/0.3653, allocations: 1.004 MB / 483.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008537/0.3662, allocations: 436.9 kB / 483.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001552/0.3677, allocations: 410.8 kB / 484 MB, free: 14.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.368, allocations: 357.9 kB / 484.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005403/0.3734, allocations: 3.439 MB / 487.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005822/0.3792, allocations: 3.608 MB / 491.4 MB, free: 6.941 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0294/0.4086, allocations: 10.27 MB / 0.4899 GB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.4086, allocations: 2.688 kB / 0.4899 GB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01479/0.4234, allocations: 7.563 MB / 0.4973 GB, free: 5.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4234, allocations: 4 kB / 0.4973 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.4234, allocations: 8 kB / 0.4973 GB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.4259, allocations: 1.25 MB / 0.4985 GB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00515/0.431, allocations: 0.8129 MB / 0.4993 GB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.4489, allocations: 13.36 MB / 0.5123 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.4504, allocations: 66.59 kB / 0.5124 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/0.451, allocations: 295.9 kB / 0.5127 GB, free: 4.875 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (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.00163/0.4526, allocations: 0.5929 MB / 0.5133 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008267/0.4535, allocations: 159.2 kB / 0.5134 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.464, allocations: 3.63 MB / 0.517 GB, free: 456 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.464, allocations: 12 kB / 0.517 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.464, allocations: 4 kB / 0.517 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.4641, allocations: 11.97 kB / 0.517 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.4798, allocations: 6.253 MB / 0.5231 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/0.4798, allocations: 7.984 kB / 0.5231 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.4826, allocations: 330.2 kB / 0.5234 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003428/0.486, allocations: 493.1 kB / 0.5239 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.4862, allocations: 39.91 kB / 0.5239 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.4989, allocations: 8.175 MB / 0.5319 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006474/0.5053, allocations: 3.666 MB / 0.5355 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00821/0.5135, allocations: 2.604 MB / 0.538 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.5141, allocations: 143.3 kB / 0.5382 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/0.5145, allocations: 34.48 kB / 0.5382 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.5157, allocations: 55.94 kB / 0.5383 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/0.5161, allocations: 116.7 kB / 0.5384 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.5162, allocations: 43.97 kB / 0.5384 GB, free: 9.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003748/0.52, allocations: 2.313 MB / 0.5407 GB, free: 7.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.52, allocations: 2.656 kB / 0.5407 GB, free: 7.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003254/0.5232, allocations: 0.7301 MB / 0.5414 GB, free: 6.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 3 ($STATESET2.x,$STATESET1.x,d1.rear.n_flow) * Number of discrete variables: 2 ($cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.5243, allocations: 398.3 kB / 0.5418 GB, free: 6.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009054/0.5334, allocations: 4.324 MB / 0.546 GB, free: 1.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.5334, allocations: 2.656 kB / 0.546 GB, free: 1.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003449/0.5368, allocations: 1.348 MB / 0.5473 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/0.5396, allocations: 412.2 kB / 0.5477 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009714/0.5493, allocations: 4.232 MB / 0.5518 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.5515, allocations: 1.066 MB / 0.5529 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001927/0.5534, allocations: 403.9 kB / 0.5533 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.5546, allocations: 200.4 kB / 0.5534 GB, free: 9.941 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5546, allocations: 4 kB / 0.5535 GB, free: 9.938 MB / 426.7 MB Notification: Performance of Templates: time 0.2408/0.7955, allocations: 57.06 MB / 0.6092 GB, free: 114.5 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Processes.Tests.TestMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_Chemical.Processes.Tests.TestMembrane.sim & ./Chemical_Chemical.Processes.Tests.TestMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.303291982039809]