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.0009514/0.0009514, 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.0009897/0.0009897, 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 0.9948/0.9948, allocations: 177.1 MB / 203.4 MB, free: 5.207 MB / 186.7 MB " [Timeout remaining time 179] 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.08691/0.08691, allocations: 17.38 MB / 277.3 MB, free: 11.51 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 1.643e-06/1.643e-06, allocations: 0 / 353.4 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.27e-05, allocations: 2.312 kB / 353.4 MB, free: 10 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.027/0.02702, allocations: 32.43 MB / 385.8 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.03822, allocations: 9.015 MB / 394.8 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007873/0.03901, allocations: 27.88 kB / 394.9 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.04153, allocations: 0.9863 MB / 395.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.0431, allocations: 0.849 MB / 396.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.045, allocations: 0.9563 MB / 397.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.04675, allocations: 2.081 MB / 399.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.04729, allocations: 431.5 kB / 400.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009978/0.04828, allocations: 1.216 MB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.04901, allocations: 0.7051 MB / 402.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.04923, allocations: 220 kB / 402.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.05093, allocations: 1.17 MB / 403.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000426/0.05135, allocations: 0.6619 MB / 404.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.05195, allocations: 0.7286 MB / 404.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.05486, allocations: 3.111 MB / 408 MB, free: 3.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.05487, allocations: 3.938 kB / 408 MB, free: 3.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.05487, allocations: 0 / 408 MB, free: 3.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.05488, allocations: 4 kB / 408 MB, free: 3.418 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.003138/0.05802, allocations: 2.801 MB / 410.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.05806, allocations: 8.031 kB / 410.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.124/0.1821, allocations: 1.024 MB / 411.8 MB, free: 48.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.1833, allocations: 0.9905 MB / 412.8 MB, free: 47.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.1836, allocations: 364.1 kB / 413.2 MB, free: 47.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.1838, allocations: 204.9 kB / 413.4 MB, free: 47.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.187, allocations: 2.628 MB / 416 MB, free: 47.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.1871, allocations: 192 / 416 MB, free: 47.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/0.1872, allocations: 83.56 kB / 416.1 MB, free: 47.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002745/0.1874, allocations: 342.4 kB / 416.4 MB, free: 47.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.1915, allocations: 3.777 MB / 420.2 MB, free: 47.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.2024, allocations: 11.02 MB / 431.2 MB, free: 42.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.2038, allocations: 0.6025 MB / 431.8 MB, free: 41.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000807/0.2046, allocations: 303.5 kB / 432.1 MB, free: 41.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007243/0.2053, allocations: 0.5786 MB / 432.7 MB, free: 41.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.2054, allocations: 46.33 kB / 432.7 MB, free: 41.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 2.384e-06/0.2054, allocations: 1.969 kB / 432.7 MB, free: 41.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.01372/0.2191, allocations: 5.375 MB / 438.1 MB, free: 36.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003322/0.2224, allocations: 5.162 MB / 443.3 MB, free: 30.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/0.2231, allocations: 0.9199 MB / 444.2 MB, free: 29.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.2232, allocations: 45.7 kB / 444.2 MB, free: 29.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.2236, allocations: 1.11 MB / 445.3 MB, free: 28.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.2238, allocations: 429 kB / 445.8 MB, free: 28.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/0.2243, allocations: 388.4 kB / 446.1 MB, free: 27.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.2244, allocations: 0.5121 MB / 446.6 MB, free: 27.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.2253, allocations: 363.7 kB / 447 MB, free: 27.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.2264, allocations: 0.5838 MB / 447.6 MB, free: 26.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.2288, allocations: 1.305 MB / 448.9 MB, free: 25.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2288, allocations: 0 / 448.9 MB, free: 25.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003664/0.2325, allocations: 1.72 MB / 450.6 MB, free: 23.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2325, allocations: 9.75 kB / 450.6 MB, free: 23.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2325, allocations: 4 kB / 450.6 MB, free: 23.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007981/0.2333, allocations: 0.6536 MB / 451.3 MB, free: 22.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.2356, allocations: 0.8022 MB / 452.1 MB, free: 21.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004595/0.2402, allocations: 10.77 MB / 462.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.2407, allocations: 59.89 kB / 462.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.2409, allocations: 291.9 kB / 463.2 MB, free: 10.28 MB / 330.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.0005667/0.2415, allocations: 227.5 kB / 463.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.2418, allocations: 159.2 kB / 463.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.2455, allocations: 2.919 MB / 466.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2455, allocations: 15.94 kB / 466.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2455, allocations: 0 / 466.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2455, allocations: 6.641 kB / 466.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005193/0.2507, allocations: 4.817 MB / 471.3 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.2507, allocations: 4 kB / 471.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.252, allocations: 327.2 kB / 471.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.2534, allocations: 400.6 kB / 472 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.2535, allocations: 37.33 kB / 472.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/0.2592, allocations: 9.847 MB / 481.9 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002955/0.2621, allocations: 4.384 MB / 486.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.2653, allocations: 1.657 MB / 488 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.2657, allocations: 147.2 kB / 488.1 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.2659, allocations: 31.88 kB / 488.1 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.2664, allocations: 43.97 kB / 488.2 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.2667, allocations: 117.8 kB / 488.3 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.2668, allocations: 39.97 kB / 488.3 MB, free: 100 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001437/0.2682, allocations: 1.251 MB / 489.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2682, allocations: 0 / 489.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002157/0.2704, allocations: 0.7301 MB / 490.3 MB, free: 14.11 MB / 362.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.0007505/0.2712, allocations: 407.7 kB / 490.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00294/0.2741, allocations: 1.734 MB / 492.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.2741, allocations: 4 kB / 492.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.2755, allocations: 1.357 MB / 493.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.2768, allocations: 416.1 kB / 494.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.2827, allocations: 3.972 MB / 498.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.2832, allocations: 474.4 kB / 498.6 MB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009632/0.2841, allocations: 359.1 kB / 499 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006137/0.2848, allocations: 200.4 kB / 499.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2848, allocations: 0 / 499.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of Templates: time 0.05999/0.3448, allocations: 58.62 MB / 0.5447 GB, free: 11.89 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.818197165150195]