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.00188/0.00188, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001561/0.001561, allocations: 215.9 kB / 22.24 MB, free: 5.258 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.816 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.1509/0.1509, allocations: 23.93 MB / 336.3 MB, free: 11.03 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.002413/0.002413, allocations: 67.91 kB / 471.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4199, allocations: 59.88 MB / 0.5191 GB, free: 9.695 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.07934/0.4992, allocations: 28.38 MB / 0.5468 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.5154, allocations: 8.168 MB / 0.5548 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.5181, allocations: 39.75 kB / 0.5548 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003817/0.522, allocations: 0.9231 MB / 0.5557 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.5261, allocations: 0.8469 MB / 0.5565 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.5303, allocations: 0.9513 MB / 0.5575 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003824/0.5341, allocations: 1.987 MB / 0.5594 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007672/0.5349, allocations: 423.5 kB / 0.5598 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.5361, allocations: 0.8241 MB / 0.5606 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.538, allocations: 1.095 MB / 0.5617 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.5382, allocations: 208 kB / 0.5619 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.5415, allocations: 1.094 MB / 0.563 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006356/0.5421, allocations: 0.5882 MB / 0.5635 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009743/0.5431, allocations: 0.8554 MB / 0.5644 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005831/0.5489, allocations: 3.846 MB / 0.5681 GB, free: 7.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.5489, allocations: 0 / 0.5681 GB, free: 7.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5489, allocations: 4 kB / 0.5681 GB, free: 7.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.186e-05/0.5489, allocations: 0 / 0.5681 GB, free: 7.566 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.004416/0.5534, allocations: 2.514 MB / 0.5706 GB, free: 5.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5534, allocations: 12.03 kB / 0.5706 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.5552, allocations: 0.491 MB / 0.5711 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.5568, allocations: 0.9013 MB / 0.5719 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.5571, allocations: 275.3 kB / 0.5722 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.5574, allocations: 204.2 kB / 0.5724 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008914/0.5663, allocations: 6.921 MB / 0.5792 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.5663, allocations: 0 / 0.5792 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.5665, allocations: 79.98 kB / 0.5792 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003734/0.5669, allocations: 328.7 kB / 0.5796 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.5818, allocations: 12.67 MB / 0.5919 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.5997, allocations: 10.07 MB / 0.6018 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.6016, allocations: 0.7873 MB / 0.6025 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.6027, allocations: 471.7 kB / 0.603 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007867/0.6105, allocations: 3.405 MB / 0.6063 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.6106, allocations: 43.2 kB / 0.6063 GB, free: 128 kB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.484e-06/0.6106, allocations: 0 / 0.6063 GB, free: 128 kB / 446.1 MB Notification: Performance of matching and sorting (n=77): time 0.01314/0.6237, allocations: 3.827 MB / 0.6101 GB, free: 12.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.6238, allocations: 68.05 kB / 0.6101 GB, free: 12.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.6251, allocations: 0.9896 MB / 0.6111 GB, free: 11.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.903e-05/0.6252, allocations: 37.7 kB / 0.6112 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008802/0.626, allocations: 1.139 MB / 0.6123 GB, free: 9.922 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.6263, allocations: 281.6 kB / 0.6125 GB, free: 9.645 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004806/0.6268, allocations: 306.8 kB / 0.6128 GB, free: 9.336 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.627, allocations: 349.9 kB / 0.6132 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009997/0.628, allocations: 450.4 kB / 0.6136 GB, free: 8.551 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.6294, allocations: 0.8899 MB / 0.6145 GB, free: 7.445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/0.6423, allocations: 3.118 MB / 0.6175 GB, free: 4.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.6423, allocations: 4 kB / 0.6175 GB, free: 4.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004554/0.6469, allocations: 1.725 MB / 0.6192 GB, free: 2.367 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.6469, allocations: 12 kB / 0.6192 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.6469, allocations: 16.88 kB / 0.6192 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/0.6475, allocations: 206.5 kB / 0.6194 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.65, allocations: 467.4 kB / 0.6199 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004759/0.6548, allocations: 4.265 MB / 0.624 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.6558, allocations: 63.91 kB / 0.6241 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.6561, allocations: 180 kB / 0.6243 GB, free: 12.86 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.001189/0.6573, allocations: 0.6147 MB / 0.6249 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.6576, allocations: 119.2 kB / 0.625 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.6625, allocations: 1.875 MB / 0.6268 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6625, allocations: 4 kB / 0.6268 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6625, allocations: 7.984 kB / 0.6268 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.6625, allocations: 3.984 kB / 0.6268 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005553/0.6681, allocations: 2.259 MB / 0.629 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6681, allocations: 0 / 0.629 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.6698, allocations: 227.9 kB / 0.6292 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.6704, allocations: 186.4 kB / 0.6294 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.6704, allocations: 19.98 kB / 0.6294 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.6752, allocations: 4.388 MB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6752, allocations: 0 / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003987/0.6792, allocations: 1.392 MB / 0.6351 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.6794, allocations: 95.28 kB / 0.6352 GB, free: 1.199 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.6796, allocations: 20 kB / 0.6352 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.6803, allocations: 31.97 kB / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.6805, allocations: 60.33 kB / 0.6353 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.6806, allocations: 28.06 kB / 0.6353 GB, free: 1.059 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00125/0.6818, allocations: 0.8132 MB / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6818, allocations: 0 / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001796/0.6836, allocations: 419.7 kB / 0.6365 GB, free: 15.82 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.0006918/0.6843, allocations: 358.8 kB / 0.6368 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003285/0.6876, allocations: 1.334 MB / 0.6381 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6876, allocations: 4.875 kB / 0.6382 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.6894, allocations: 0.7174 MB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6907, allocations: 285 kB / 0.6391 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.6973, allocations: 3.592 MB / 0.6426 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.6986, allocations: 1.002 MB / 0.6436 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001527/0.7001, allocations: 455.5 kB / 0.644 GB, free: 7.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.7006, allocations: 167.3 kB / 0.6442 GB, free: 7.758 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7006, allocations: 4 kB / 0.6442 GB, free: 7.754 MB / 494.1 MB Notification: Performance of Templates: time 0.04309/0.7437, allocations: 25.68 MB / 0.6693 GB, free: 14.31 MB / 0.5138 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.304225344676524] Failed to read output from testmodel.py, exit status != 0: 0.7529817027971148 0.766260992 0.214320058 Calling exit ...