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.001747/0.001747, allocations: 114.5 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002104/0.002104, allocations: 219.6 kB / 22.26 MB, free: 5.117 MB / 14.72 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 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.1596/0.1596, allocations: 23.89 MB / 336.3 MB, free: 11.15 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.89 kB / 471.7 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3781, allocations: 59.88 MB / 0.5191 GB, free: 9.879 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336: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:1336:7-1336: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:1350:7-1350: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:1350:7-1350: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.04706/0.4252, allocations: 29.62 MB / 0.548 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.4418, allocations: 9.38 MB / 0.5572 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.4441, allocations: 31.81 kB / 0.5572 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.4479, allocations: 0.9998 MB / 0.5582 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.4515, allocations: 0.8432 MB / 0.559 GB, free: 184 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.4555, allocations: 0.959 MB / 0.56 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004436/0.46, allocations: 1.985 MB / 0.5619 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009553/0.4609, allocations: 426.3 kB / 0.5623 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.4627, allocations: 0.8235 MB / 0.5631 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.4652, allocations: 1.091 MB / 0.5642 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004225/0.4656, allocations: 208 kB / 0.5644 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004944/0.4705, allocations: 1.666 MB / 0.566 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006908/0.4712, allocations: 0.5839 MB / 0.5666 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.4727, allocations: 1.142 MB / 0.5677 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006865/0.4795, allocations: 3.998 MB / 0.5716 GB, free: 4.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4795, allocations: 0 / 0.5716 GB, free: 4.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4795, allocations: 0 / 0.5716 GB, free: 4.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.353e-05/0.4796, allocations: 3.938 kB / 0.5716 GB, free: 4.227 MB / 414.1 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.004284/0.4838, allocations: 2.522 MB / 0.5741 GB, free: 1.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4839, allocations: 8.031 kB / 0.5741 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.4848, allocations: 411 kB / 0.5745 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.4862, allocations: 0.8974 MB / 0.5753 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.4865, allocations: 271.3 kB / 0.5756 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/0.4868, allocations: 196.3 kB / 0.5758 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008525/0.4953, allocations: 6.894 MB / 0.5825 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.4954, allocations: 0 / 0.5825 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.4955, allocations: 79.98 kB / 0.5826 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003808/0.4959, allocations: 328.7 kB / 0.5829 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.5102, allocations: 12.66 MB / 0.5953 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.5284, allocations: 11.34 MB / 0.6063 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.53, allocations: 0.7567 MB / 0.6071 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/0.5308, allocations: 435.7 kB / 0.6075 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008004/0.5388, allocations: 3.725 MB / 0.6111 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.5389, allocations: 43.22 kB / 0.6112 GB, free: 11.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.194e-06/0.5389, allocations: 0 / 0.6112 GB, free: 11.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=77): time 0.01168/0.5506, allocations: 3.718 MB / 0.6148 GB, free: 7.574 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.5506, allocations: 64.05 kB / 0.6149 GB, free: 7.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.5526, allocations: 1.407 MB / 0.6162 GB, free: 6.082 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/0.5527, allocations: 37.7 kB / 0.6163 GB, free: 6.039 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009505/0.5536, allocations: 1.114 MB / 0.6174 GB, free: 4.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.5539, allocations: 285.6 kB / 0.6176 GB, free: 4.629 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004654/0.5544, allocations: 310.7 kB / 0.6179 GB, free: 4.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.5546, allocations: 349.9 kB / 0.6183 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/0.5553, allocations: 410.5 kB / 0.6187 GB, free: 3.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.5565, allocations: 0.8587 MB / 0.6195 GB, free: 2.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01961/0.5761, allocations: 3.89 MB / 0.6233 GB, free: 14.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.5762, allocations: 7.938 kB / 0.6233 GB, free: 14.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004115/0.5803, allocations: 1.698 MB / 0.625 GB, free: 12.67 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.5803, allocations: 12 kB / 0.625 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/0.5803, allocations: 16 kB / 0.625 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/0.581, allocations: 206.8 kB / 0.6252 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.5832, allocations: 447.5 kB / 0.6256 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004985/0.5882, allocations: 4.342 MB / 0.6299 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.5894, allocations: 52.09 kB / 0.6299 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.5897, allocations: 180 kB / 0.6301 GB, free: 7.082 MB / 478.1 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: 69 * 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 (135): * Single equations (assignments): 132 * 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.001423/0.5911, allocations: 0.5955 MB / 0.6307 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.5916, allocations: 159 kB / 0.6308 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.5964, allocations: 1.848 MB / 0.6326 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.5965, allocations: 8 kB / 0.6326 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5965, allocations: 7.938 kB / 0.6326 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5965, allocations: 3.984 kB / 0.6326 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006505/0.603, allocations: 2.822 MB / 0.6354 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.603, allocations: 7.984 kB / 0.6354 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.6046, allocations: 208 kB / 0.6356 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/0.6051, allocations: 186.4 kB / 0.6358 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.6052, allocations: 15.98 kB / 0.6358 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004993/0.6102, allocations: 4.453 MB / 0.6401 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6102, allocations: 3.938 kB / 0.6401 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.6135, allocations: 1.337 MB / 0.6414 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/0.6139, allocations: 158.9 kB / 0.6416 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.6143, allocations: 16 kB / 0.6416 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.615, allocations: 20 kB / 0.6416 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.6151, allocations: 52.33 kB / 0.6417 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.6152, allocations: 27.98 kB / 0.6417 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002018/0.6172, allocations: 1.151 MB / 0.6428 GB, free: 9.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6172, allocations: 0 / 0.6428 GB, free: 9.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001749/0.619, allocations: 431.6 kB / 0.6432 GB, free: 9.059 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (62): * Single equations (assignments): 59 * 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 Backend phase and start with SimCode phase: time 0.000779/0.6197, allocations: 385.9 kB / 0.6436 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002991/0.6227, allocations: 1.277 MB / 0.6449 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6227, allocations: 8.25 kB / 0.6449 GB, free: 7.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.6243, allocations: 0.6744 MB / 0.6455 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.6263, allocations: 424.2 kB / 0.6459 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/0.6337, allocations: 3.606 MB / 0.6494 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.6356, allocations: 1.581 MB / 0.651 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001754/0.6374, allocations: 0.4911 MB / 0.6515 GB, free: 468 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/0.638, allocations: 187.3 kB / 0.6516 GB, free: 280 kB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/0.638, allocations: 0 / 0.6516 GB, free: 280 kB / 494.1 MB Notification: Performance of Templates: time 0.05424/0.6923, allocations: 28.06 MB / 0.679 GB, free: 4.352 MB / 0.5137 GB " [Timeout remaining time 659] 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: 6.399489940144122] Failed to read output from testmodel.py, exit status != 0: 0.7031626678071916 0.7191713479999999 0.23621946299999996 Calling exit ...