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.001456/0.001456, allocations: 88.72 kB / 19.44 MB, free: 356 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.001679/0.001679, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.458/1.458, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.1488/0.1488, allocations: 17.45 MB / 277 MB, free: 11.57 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.893e-06/1.893e-06, allocations: 0 / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.041e-05/4.23e-05, allocations: 6.25 kB / 352.8 MB, free: 10.21 MB / 282.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.06527/0.06531, allocations: 29.35 MB / 382.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.08319, allocations: 9.144 MB / 391.3 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.08511, allocations: 55.56 kB / 391.4 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004208/0.08932, allocations: 1.044 MB / 392.4 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.09434, allocations: 1.086 MB / 393.5 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.09899, allocations: 1.166 MB / 394.6 MB, free: 448 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004802/0.1038, allocations: 2.26 MB / 396.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.1049, allocations: 427.3 kB / 397.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.1084, allocations: 1.314 MB / 398.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.1107, allocations: 0.9389 MB / 399.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005474/0.1112, allocations: 208 kB / 399.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.1157, allocations: 1.388 MB / 401.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009072/0.1166, allocations: 0.6619 MB / 401.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.1182, allocations: 0.7364 MB / 402.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007132/0.1253, allocations: 4.089 MB / 406.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1253, allocations: 0 / 406.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1253, allocations: 0 / 406.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.842e-05/0.1254, allocations: 0 / 406.7 MB, free: 4.352 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.005258/0.1307, allocations: 2.584 MB / 409.2 MB, free: 1.723 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1307, allocations: 8.031 kB / 409.2 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.1331, allocations: 1.057 MB / 410.3 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1395/0.2726, allocations: 1.311 MB / 411.6 MB, free: 62.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.2729, allocations: 268.8 kB / 411.9 MB, free: 62.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.2732, allocations: 205.5 kB / 412.1 MB, free: 62.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00876/0.2819, allocations: 7.416 MB / 419.5 MB, free: 59.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.282, allocations: 192 / 419.5 MB, free: 59.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.2821, allocations: 81.11 kB / 419.6 MB, free: 59.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003679/0.2825, allocations: 330.2 kB / 419.9 MB, free: 58.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.2928, allocations: 13.4 MB / 433.3 MB, free: 48.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.3055, allocations: 10.55 MB / 443.8 MB, free: 38.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.307, allocations: 0.7708 MB / 444.6 MB, free: 37.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008355/0.3078, allocations: 487.6 kB / 445.1 MB, free: 37.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005748/0.3136, allocations: 3.574 MB / 448.7 MB, free: 33.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3136, allocations: 45.88 kB / 448.7 MB, free: 33.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 2.795e-06/0.3136, allocations: 0 / 448.7 MB, free: 33.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.01076/0.3244, allocations: 3.726 MB / 452.4 MB, free: 29.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.3244, allocations: 60.06 kB / 452.5 MB, free: 29.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3254, allocations: 1.012 MB / 453.5 MB, free: 28.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.376e-05/0.3255, allocations: 41.7 kB / 453.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.3259, allocations: 1.158 MB / 454.7 MB, free: 27.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.3261, allocations: 277.6 kB / 455 MB, free: 27.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000363/0.3265, allocations: 304.1 kB / 455.3 MB, free: 27.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.3266, allocations: 348.6 kB / 455.6 MB, free: 26.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000785/0.3273, allocations: 442.4 kB / 456 MB, free: 26.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/0.3283, allocations: 0.9046 MB / 457 MB, free: 25.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/0.3455, allocations: 4.177 MB / 461.1 MB, free: 20.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.3455, allocations: 6.656 kB / 461.1 MB, free: 20.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003781/0.3492, allocations: 1.781 MB / 462.9 MB, free: 19.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3493, allocations: 12 kB / 462.9 MB, free: 19.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3493, allocations: 19.94 kB / 462.9 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/0.3498, allocations: 201.1 kB / 463.1 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/0.3523, allocations: 0.5487 MB / 463.7 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.3555, allocations: 4.251 MB / 467.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.3566, allocations: 73.25 kB / 468 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.3567, allocations: 171.9 kB / 468.2 MB, free: 13.53 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: 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.0009411/0.3577, allocations: 0.6145 MB / 468.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.358, allocations: 159.1 kB / 469 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.362, allocations: 1.786 MB / 470.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.362, allocations: 8 kB / 470.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.362, allocations: 0 / 470.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.362, allocations: 7.984 kB / 470.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004228/0.3663, allocations: 2.198 MB / 473 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3663, allocations: 0 / 473 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/0.3683, allocations: 326.3 kB / 473.3 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.3687, allocations: 159.2 kB / 473.4 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.3688, allocations: 23.92 kB / 473.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/0.3716, allocations: 4.289 MB / 477.7 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3716, allocations: 4.031 kB / 477.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.3748, allocations: 1.392 MB / 479.1 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.375, allocations: 91.25 kB / 479.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.3751, allocations: 26.59 kB / 479.2 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/0.3758, allocations: 39.92 kB / 479.3 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3759, allocations: 52.39 kB / 479.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.3759, allocations: 23.98 kB / 479.4 MB, free: 2.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008599/0.3768, allocations: 0.8125 MB / 480.2 MB, free: 1.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3768, allocations: 0 / 480.2 MB, free: 1.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001578/0.3784, allocations: 443.7 kB / 480.6 MB, free: 0.8164 MB / 330.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.0005264/0.3789, allocations: 351.3 kB / 481 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.382, allocations: 1.337 MB / 482.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.382, allocations: 0 / 482.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.3837, allocations: 0.7144 MB / 483 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.3852, allocations: 346.8 kB / 483.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/0.3922, allocations: 3.602 MB / 486.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.3936, allocations: 1.009 MB / 488 MB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001558/0.3951, allocations: 463.3 kB / 488.4 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.3957, allocations: 169.8 kB / 488.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.3957, allocations: 0 / 488.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of Templates: time 0.04393/0.4396, allocations: 22.2 MB / 0.4988 GB, free: 3.586 MB / 362.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=480 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.711263496079482]