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.001302/0.001302, 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.001437/0.001437, allocations: 216.9 kB / 22.25 MB, free: 5.254 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.766 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.13/0.13, allocations: 23.93 MB / 336.4 MB, free: 10.89 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: "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_TestMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_TestMembrane",fmuType="me",version="2.0",platforms={"static"}) [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.001988/0.001988, allocations: 71.89 kB / 471.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3013, allocations: 59.87 MB / 0.5186 GB, free: 9.504 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.0722/0.3735, allocations: 28.39 MB / 0.5463 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.3873, allocations: 8.177 MB / 0.5543 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.3884, allocations: 35.81 kB / 0.5543 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.3911, allocations: 0.9223 MB / 0.5552 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.3933, allocations: 0.8427 MB / 0.5561 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.3958, allocations: 0.9514 MB / 0.557 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002631/0.3984, allocations: 1.985 MB / 0.5589 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006662/0.3991, allocations: 422.6 kB / 0.5593 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009915/0.4, allocations: 0.8287 MB / 0.5601 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.4015, allocations: 1.09 MB / 0.5612 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.4017, allocations: 208 kB / 0.5614 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.4042, allocations: 1.097 MB / 0.5625 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.4048, allocations: 0.5887 MB / 0.563 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008993/0.4057, allocations: 0.8515 MB / 0.5639 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004781/0.4104, allocations: 3.843 MB / 0.5676 GB, free: 7.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4104, allocations: 0 / 0.5676 GB, free: 7.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4104, allocations: 0 / 0.5676 GB, free: 7.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.307e-05/0.4105, allocations: 0 / 0.5676 GB, free: 7.543 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.00399/0.4145, allocations: 2.51 MB / 0.5701 GB, free: 4.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4145, allocations: 16.02 kB / 0.5701 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003609/0.4149, allocations: 325.9 kB / 0.5704 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.4165, allocations: 0.4989 MB / 0.5709 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.4179, allocations: 0.9052 MB / 0.5718 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.4182, allocations: 271.2 kB / 0.572 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.4184, allocations: 200.3 kB / 0.5722 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007995/0.4264, allocations: 6.921 MB / 0.579 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.4265, allocations: 0 / 0.579 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.4266, allocations: 83.98 kB / 0.5791 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003777/0.427, allocations: 328.7 kB / 0.5794 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.4406, allocations: 12.66 MB / 0.5917 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01692/0.4575, allocations: 10.75 MB / 0.6022 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.4593, allocations: 0.7922 MB / 0.603 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009494/0.4603, allocations: 467.7 kB / 0.6035 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007311/0.4676, allocations: 3.483 MB / 0.6069 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.4676, allocations: 43.16 kB / 0.6069 GB, free: 15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.4676, allocations: 0 / 0.6069 GB, free: 15 MB / 462.1 MB Notification: Performance of matching and sorting (n=77): time 0.01284/0.4804, allocations: 3.862 MB / 0.6107 GB, free: 11.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.4805, allocations: 60.06 kB / 0.6107 GB, free: 10.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.4824, allocations: 1.434 MB / 0.6121 GB, free: 9.527 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.242e-05/0.4825, allocations: 37.7 kB / 0.6122 GB, free: 9.484 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00087/0.4834, allocations: 1.114 MB / 0.6133 GB, free: 8.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.4836, allocations: 277.7 kB / 0.6135 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/0.4841, allocations: 314.7 kB / 0.6138 GB, free: 7.766 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.4844, allocations: 349.9 kB / 0.6142 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009948/0.4854, allocations: 446.4 kB / 0.6146 GB, free: 6.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.4867, allocations: 0.886 MB / 0.6155 GB, free: 5.883 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/0.4994, allocations: 3.13 MB / 0.6185 GB, free: 2.539 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4994, allocations: 4 kB / 0.6185 GB, free: 2.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004365/0.5038, allocations: 1.76 MB / 0.6202 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.5038, allocations: 12 kB / 0.6202 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.5038, allocations: 19.98 kB / 0.6203 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.5043, allocations: 207 kB / 0.6205 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/0.5068, allocations: 463.4 kB / 0.6209 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.5115, allocations: 4.338 MB / 0.6251 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.5126, allocations: 59.97 kB / 0.6252 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.5129, allocations: 180 kB / 0.6254 GB, free: 11.15 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.00111/0.514, allocations: 0.6066 MB / 0.626 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.5143, allocations: 159.1 kB / 0.6261 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.5191, allocations: 1.907 MB / 0.628 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5191, allocations: 7.938 kB / 0.628 GB, free: 8.402 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5191, allocations: 8 kB / 0.628 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.5191, allocations: 3.984 kB / 0.628 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.5251, allocations: 2.698 MB / 0.6306 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.5251, allocations: 4.188 kB / 0.6306 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.5269, allocations: 223.7 kB / 0.6308 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.5274, allocations: 186.4 kB / 0.631 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.5274, allocations: 15.98 kB / 0.631 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004659/0.5321, allocations: 4.441 MB / 0.6354 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5321, allocations: 0 / 0.6354 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/0.536, allocations: 1.45 MB / 0.6368 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.5365, allocations: 154.9 kB / 0.6369 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.5367, allocations: 16 kB / 0.637 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006993/0.5374, allocations: 31.97 kB / 0.637 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.5375, allocations: 64.33 kB / 0.637 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.5376, allocations: 19.98 kB / 0.6371 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.5392, allocations: 1.151 MB / 0.6382 GB, free: 13.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5392, allocations: 0 / 0.6382 GB, free: 13.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001568/0.5408, allocations: 423.7 kB / 0.6386 GB, free: 13.06 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.004657/0.5454, allocations: 2.251 MB / 0.6408 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003184/0.5486, allocations: 1.339 MB / 0.6421 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5486, allocations: 0 / 0.6421 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.5503, allocations: 0.7063 MB / 0.6428 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.5521, allocations: 424.7 kB / 0.6432 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/0.5759, allocations: 13.89 MB / 0.6568 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.5771, allocations: 1.008 MB / 0.6577 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001511/0.5786, allocations: 0.4911 MB / 0.6582 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/0.58, allocations: 0.9366 MB / 0.6591 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of SimCode: time 1.572e-06/0.58, allocations: 0 / 0.6591 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09761/0.6776, allocations: 46.63 MB / 0.7047 GB, free: 8.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.18, allocations: 7.375 kB / 0.7047 GB, free: 8.891 MB / 0.545 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Processes_Tests_TestMembrane_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Processes_Tests_TestMembrane.fmu > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.796160981000867] Failed to read output from testmodel.py, exit status != 0: 13.314623151993146 13.328944549 12.915636367 Calling exit ...