Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001231/0.001231, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001002/0.001002, allocations: 173 kB / 23.49 MB, free: 1.055 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.9729/0.9729, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.09055/0.09055, allocations: 17.45 MB / 277.7 MB, free: 11.64 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.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.TestMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 353.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.852e-05, allocations: 4.562 kB / 353.5 MB, free: 11.26 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.02716/0.02717, allocations: 32.71 MB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.03721, allocations: 9.97 MB / 396.2 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006615/0.03787, allocations: 59.5 kB / 396.3 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.0397, allocations: 1.048 MB / 397.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.04105, allocations: 1.086 MB / 398.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.04266, allocations: 1.162 MB / 399.6 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.04488, allocations: 2.26 MB / 401.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.04547, allocations: 423.3 kB / 402.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.04677, allocations: 1.321 MB / 403.6 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.04791, allocations: 0.9313 MB / 404.5 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.04815, allocations: 208 kB / 404.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.0506, allocations: 1.396 MB / 406.1 MB, free: 6.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.05104, allocations: 0.6658 MB / 406.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009345/0.05197, allocations: 0.7364 MB / 407.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.05522, allocations: 3.177 MB / 410.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.05523, allocations: 0 / 410.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.05523, allocations: 4 kB / 410.7 MB, free: 2.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.05526, allocations: 3.984 kB / 410.7 MB, free: 2.059 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.003133/0.05839, allocations: 2.836 MB / 413.5 MB, free: 15.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.05842, allocations: 8.031 kB / 413.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.06015, allocations: 1.01 MB / 414.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.06162, allocations: 1.307 MB / 415.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.06181, allocations: 275.4 kB / 416.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.06203, allocations: 204.3 kB / 416.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.06557, allocations: 2.854 MB / 419.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.0656, allocations: 192 / 419.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.06573, allocations: 84.11 kB / 419.3 MB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/0.06603, allocations: 328.7 kB / 419.6 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005288/0.07132, allocations: 3.692 MB / 423.3 MB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/0.1087, allocations: 8.69 MB / 432 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1097, allocations: 0.5312 MB / 432.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009514/0.1192, allocations: 262.5 kB / 432.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.133, allocations: 3.312 MB / 436.1 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1331, allocations: 46.05 kB / 436.1 MB, free: 8.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.234e-06/0.1331, allocations: 7.938 kB / 436.1 MB, free: 8.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=76): time 0.01142/0.1445, allocations: 2.877 MB / 439 MB, free: 5.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1445, allocations: 60.06 kB / 439.1 MB, free: 5.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/0.1453, allocations: 1.08 MB / 440.1 MB, free: 4.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.1453, allocations: 37.7 kB / 440.2 MB, free: 4.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/0.1458, allocations: 1.262 MB / 441.4 MB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.146, allocations: 281.6 kB / 441.7 MB, free: 2.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.1463, allocations: 316.4 kB / 442 MB, free: 2.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1464, allocations: 0.5238 MB / 442.5 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.1467, allocations: 218.5 kB / 442.8 MB, free: 1.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.1476, allocations: 0.9189 MB / 443.7 MB, free: 236 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1302/0.2778, allocations: 1.397 MB / 445.1 MB, free: 117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.2778, allocations: 6.656 kB / 445.1 MB, free: 117 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001983/0.2798, allocations: 1.335 MB / 446.4 MB, free: 116.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2798, allocations: 12.47 kB / 446.4 MB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.2798, allocations: 19.08 kB / 446.4 MB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.2801, allocations: 154.4 kB / 446.6 MB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.2813, allocations: 0.4976 MB / 447.1 MB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.2832, allocations: 5.41 MB / 452.5 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.2836, allocations: 53.45 kB / 452.5 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.2838, allocations: 167.9 kB / 452.7 MB, free: 111.6 MB / 410.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: 74 * Number of states: 0 () * Number of discrete variables: 2 (s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005425/0.2843, allocations: 250.1 kB / 453 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.2845, allocations: 154.8 kB / 453.1 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.2865, allocations: 1.573 MB / 454.7 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2865, allocations: 9.531 kB / 454.7 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2865, allocations: 2.969 kB / 454.7 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2865, allocations: 7.359 kB / 454.7 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.2888, allocations: 2.272 MB / 457 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2888, allocations: 3.188 kB / 457 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.29, allocations: 275.7 kB / 457.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002962/0.2903, allocations: 129.5 kB / 457.4 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.2904, allocations: 24.38 kB / 457.4 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.2925, allocations: 5.595 MB / 463 MB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2925, allocations: 6.609 kB / 463 MB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.2943, allocations: 1.015 MB / 464 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2944, allocations: 99.55 kB / 464.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.2945, allocations: 16.38 kB / 464.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.295, allocations: 30.12 kB / 464.2 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.2951, allocations: 58.88 kB / 464.2 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.2951, allocations: 20.02 kB / 464.2 MB, free: 104.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007341/0.2958, allocations: 0.6775 MB / 464.9 MB, free: 104.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2958, allocations: 0 / 464.9 MB, free: 104.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001487/0.2973, allocations: 436.1 kB / 465.3 MB, free: 104.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (s1.logm,p1.logm,d1.rear.n_flow) * 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): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004869/0.2978, allocations: 356.3 kB / 465.7 MB, free: 104 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.2995, allocations: 1.213 MB / 466.9 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2995, allocations: 3.344 kB / 466.9 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.3003, allocations: 0.7687 MB / 467.7 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.3015, allocations: 338.5 kB / 468 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005084/0.3065, allocations: 3.346 MB / 471.3 MB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3069, allocations: 441.6 kB / 471.8 MB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001183/0.3081, allocations: 459.2 kB / 472.2 MB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.3085, allocations: 162.9 kB / 472.4 MB, free: 100.7 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3085, allocations: 0 / 472.4 MB, free: 100.7 MB / 410.7 MB Notification: Performance of Templates: time 0.02516/0.3337, allocations: 22.24 MB / 494.6 MB, free: 97.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Processes.Tests.TestMembrane.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.TestMembrane.sim & ./Chemical_master_Chemical.Processes.Tests.TestMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9348314891103655]