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.001605/0.001605, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001795/0.001795, allocations: 222.1 kB / 23 MB, free: 4.91 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.1395/0.1395, allocations: 23.99 MB / 337.2 MB, free: 10.88 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.002127/0.002127, allocations: 71.89 kB / 472.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3691, allocations: 59.89 MB / 0.5199 GB, free: 9.715 MB / 382.1 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.07822/0.4473, allocations: 28.64 MB / 0.5479 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.4649, allocations: 8.428 MB / 0.5561 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.4676, allocations: 39.75 kB / 0.5562 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.4718, allocations: 0.9166 MB / 0.5571 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.4761, allocations: 0.8676 MB / 0.5579 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.4801, allocations: 0.9988 MB / 0.5589 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004551/0.4847, allocations: 2.02 MB / 0.5609 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.4858, allocations: 415.7 kB / 0.5613 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.488, allocations: 0.8403 MB / 0.5621 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.4907, allocations: 0.9875 MB / 0.563 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008509/0.4915, allocations: 208 kB / 0.5632 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/0.4969, allocations: 1.128 MB / 0.5643 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.498, allocations: 0.5952 MB / 0.5649 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00196/0.5, allocations: 0.8663 MB / 0.5658 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007405/0.5074, allocations: 3.908 MB / 0.5696 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5074, allocations: 0 / 0.5696 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5074, allocations: 4 kB / 0.5696 GB, free: 6.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001113/0.5075, allocations: 0 / 0.5696 GB, free: 6.777 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.005656/0.5132, allocations: 2.538 MB / 0.5721 GB, free: 4.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5132, allocations: 8.031 kB / 0.5721 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.5151, allocations: 0.495 MB / 0.5726 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.517, allocations: 0.909 MB / 0.5734 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.5173, allocations: 279.3 kB / 0.5737 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.5177, allocations: 208.2 kB / 0.5739 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009772/0.5275, allocations: 7.419 MB / 0.5812 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/0.5276, allocations: 0 / 0.5812 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.5278, allocations: 83.97 kB / 0.5812 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/0.5281, allocations: 324.7 kB / 0.5815 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.5436, allocations: 13.4 MB / 0.5946 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.5621, allocations: 10.43 MB / 0.6048 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.564, allocations: 0.7726 MB / 0.6056 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.5652, allocations: 479.7 kB / 0.606 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008035/0.5732, allocations: 3.527 MB / 0.6095 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.5733, allocations: 47.16 kB / 0.6095 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.925e-06/0.5733, allocations: 0 / 0.6095 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.0121/0.5854, allocations: 3.735 MB / 0.6132 GB, free: 9.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.5854, allocations: 60.06 kB / 0.6132 GB, free: 9.645 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.587, allocations: 1.018 MB / 0.6142 GB, free: 8.609 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.615e-05/0.5871, allocations: 33.7 kB / 0.6142 GB, free: 8.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00098/0.588, allocations: 1.166 MB / 0.6154 GB, free: 7.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.5884, allocations: 281.6 kB / 0.6157 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005318/0.5889, allocations: 314.7 kB / 0.616 GB, free: 6.801 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5891, allocations: 345.9 kB / 0.6163 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.5901, allocations: 454.4 kB / 0.6167 GB, free: 6.012 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.5915, allocations: 0.9098 MB / 0.6176 GB, free: 4.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/0.6097, allocations: 4.211 MB / 0.6217 GB, free: 444 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.6097, allocations: 4 kB / 0.6217 GB, free: 440 kB / 462.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004688/0.6144, allocations: 1.733 MB / 0.6234 GB, free: 14.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.6145, allocations: 12 kB / 0.6234 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/0.6145, allocations: 24 kB / 0.6234 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.615, allocations: 194.7 kB / 0.6236 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/0.6179, allocations: 0.5579 MB / 0.6242 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/0.6226, allocations: 4.25 MB / 0.6283 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.6237, allocations: 64.2 kB / 0.6284 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.624, allocations: 187.9 kB / 0.6286 GB, free: 9.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: 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.001406/0.6254, allocations: 0.6105 MB / 0.6292 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/0.6258, allocations: 119.2 kB / 0.6293 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004774/0.6305, allocations: 1.872 MB / 0.6311 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.6306, allocations: 8 kB / 0.6311 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6306, allocations: 0 / 0.6311 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.6306, allocations: 3.984 kB / 0.6311 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/0.6362, allocations: 2.227 MB / 0.6333 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6362, allocations: 0 / 0.6333 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/0.6384, allocations: 323.8 kB / 0.6336 GB, free: 3.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.6389, allocations: 174.5 kB / 0.6338 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/0.639, allocations: 15.98 kB / 0.6338 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004756/0.6437, allocations: 4.361 MB / 0.638 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6437, allocations: 0 / 0.638 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/0.6476, allocations: 1.41 MB / 0.6394 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.6479, allocations: 99.23 kB / 0.6395 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.6481, allocations: 16 kB / 0.6395 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/0.6487, allocations: 43.97 kB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.6489, allocations: 52.39 kB / 0.6396 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.6489, allocations: 28.05 kB / 0.6396 GB, free: 13.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.6503, allocations: 0.8219 MB / 0.6405 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6503, allocations: 0 / 0.6405 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001649/0.652, allocations: 427.7 kB / 0.6409 GB, free: 12.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0007227/0.6527, allocations: 362.5 kB / 0.6412 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003263/0.656, allocations: 1.363 MB / 0.6425 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.656, allocations: 0 / 0.6425 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.6577, allocations: 0.7101 MB / 0.6432 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.659, allocations: 287.4 kB / 0.6435 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007584/0.6666, allocations: 3.77 MB / 0.6472 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.6682, allocations: 1.011 MB / 0.6482 GB, free: 4.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/0.669, allocations: 215.3 kB / 0.6484 GB, free: 4.145 MB / 494.1 MB Notification: Performance of SimCode: time 6.82e-07/0.669, allocations: 0 / 0.6484 GB, free: 4.145 MB / 494.1 MB Notification: Performance of Templates: time 0.07385/0.7428, allocations: 55.68 MB / 0.7028 GB, free: 12.41 MB / 0.545 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: 10.983431721106172] Failed to read output from testmodel.py, exit status != 0: 0.7529011843726039 0.770978649 0.25901428400000004 Calling exit ...