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.001267/0.001267, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001408/0.001408, allocations: 177 kB / 23.36 MB, free: 1.133 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.031/1.031, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.09148/0.09148, allocations: 17.48 MB / 277.7 MB, free: 11.43 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.943e-06/1.943e-06, allocations: 0 / 300.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.049e-05, allocations: 7.406 kB / 300.8 MB, free: 1.73 MB / 266.7 MB [/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. [/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.TestMembrane): time 0.04138/0.0414, allocations: 38.49 MB / 339.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.05282, allocations: 10.14 MB / 349.4 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007819/0.0536, allocations: 59.5 kB / 349.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.05551, allocations: 1.091 MB / 350.5 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.05701, allocations: 1.07 MB / 351.6 MB, free: 1.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.05873, allocations: 1.166 MB / 352.8 MB, free: 264 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.06039, allocations: 2.26 MB / 355 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.06084, allocations: 459.2 kB / 355.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.06202, allocations: 1.321 MB / 356.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.06286, allocations: 0.9156 MB / 357.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.06303, allocations: 208 kB / 357.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.06507, allocations: 1.396 MB / 359.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.0654, allocations: 0.6619 MB / 360 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.06588, allocations: 0.7364 MB / 360.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.06841, allocations: 3.177 MB / 363.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.06841, allocations: 0 / 363.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.06841, allocations: 0 / 363.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.06844, allocations: 0 / 363.9 MB, free: 5.047 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.002098/0.07053, allocations: 2.551 MB / 366.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.07057, allocations: 12.03 kB / 366.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.07159, allocations: 0.9258 MB / 367.4 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008691/0.07246, allocations: 0.8941 MB / 368.3 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.0726, allocations: 271.4 kB / 368.5 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.07274, allocations: 204.3 kB / 368.7 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.07487, allocations: 2.448 MB / 371.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.07489, allocations: 192 / 371.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.07498, allocations: 88.09 kB / 371.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/0.07518, allocations: 336.7 kB / 371.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.07735, allocations: 2.902 MB / 374.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006415/0.08377, allocations: 6.836 MB / 381.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006076/0.08438, allocations: 429.3 kB / 381.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.08462, allocations: 171.8 kB / 381.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002973/0.08759, allocations: 2.635 MB / 384.6 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.08762, allocations: 47.23 kB / 384.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 1.513e-06/0.08763, allocations: 0 / 384.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=76): time 0.00404/0.09167, allocations: 2.145 MB / 386.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.09169, allocations: 60.06 kB / 386.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.09217, allocations: 0.8244 MB / 387.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.09223, allocations: 37.7 kB / 387.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.09261, allocations: 1.016 MB / 388.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.09276, allocations: 277.6 kB / 389 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.093, allocations: 266.6 kB / 389.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.09309, allocations: 353.8 kB / 389.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.09329, allocations: 138.5 kB / 389.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.09375, allocations: 0.6286 MB / 390.3 MB, free: 9.879 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009064/0.09466, allocations: 1.038 MB / 391.4 MB, free: 8.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.09467, allocations: 4 kB / 391.4 MB, free: 8.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001309/0.09597, allocations: 0.9294 MB / 392.3 MB, free: 7.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.09599, allocations: 12 kB / 392.3 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.09601, allocations: 23.92 kB / 392.3 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.09624, allocations: 130.6 kB / 392.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.09768, allocations: 0.5695 MB / 393 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.09953, allocations: 3.672 MB / 396.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.09988, allocations: 51.98 kB / 396.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.1, allocations: 140 kB / 396.9 MB, free: 2.793 MB / 362.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.data.phase,s1.substanceDefinitionVar.SelfClustering) * 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.0003085/0.1003, allocations: 200.2 kB / 397.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.1005, allocations: 107.9 kB / 397.2 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.1023, allocations: 1.356 MB / 398.6 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1023, allocations: 11.94 kB / 398.6 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1023, allocations: 3.938 kB / 398.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1023, allocations: 3.984 kB / 398.6 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.1039, allocations: 1.302 MB / 399.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1039, allocations: 0 / 399.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.105, allocations: 363.8 kB / 400.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.1052, allocations: 114.4 kB / 400.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.1053, allocations: 15.98 kB / 400.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.1071, allocations: 3.879 MB / 404.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1071, allocations: 7.938 kB / 404.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.1081, allocations: 0.7438 MB / 405 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.1081, allocations: 95.25 kB / 405.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.1082, allocations: 19.98 kB / 405.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.1085, allocations: 24 kB / 405.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.1085, allocations: 52.39 kB / 405.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.1086, allocations: 15.98 kB / 405.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003312/0.1089, allocations: 440.2 kB / 405.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1089, allocations: 4 kB / 405.6 MB, free: 9.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007845/0.1097, allocations: 439.7 kB / 406.1 MB, free: 9.184 MB / 378.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.0003894/0.1101, allocations: 360.5 kB / 406.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009372/0.111, allocations: 0.89 MB / 407.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.352e-05/0.111, allocations: 18.56 kB / 407.3 MB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.1115, allocations: 0.5522 MB / 407.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.1122, allocations: 318.8 kB / 408.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.1158, allocations: 3.434 MB / 411.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1161, allocations: 437.1 kB / 412 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007861/0.1169, allocations: 433.3 kB / 412.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/0.1175, allocations: 365.1 kB / 412.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1175, allocations: 0 / 412.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of Templates: time 0.02821/0.1457, allocations: 25.53 MB / 438.3 MB, free: 8.867 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.632036566734314]