Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001327/0.001327, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002301/0.002301, allocations: 212.5 kB / 22.25 MB, free: 5.262 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1733/0.1733, allocations: 23.89 MB / 336.3 MB, free: 11.06 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Processes_Tests_TestMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_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.002076/0.002076, allocations: 71.89 kB / 471.1 MB, free: 7.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.462, allocations: 59.86 MB / 0.5185 GB, free: 9.516 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328: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 2.0.0/Boundaries.mo:1328:7-1328: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 2.0.0/Boundaries.mo:1343:7-1343: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 2.0.0/Boundaries.mo:1343:7-1343: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.08229/0.5442, allocations: 28.49 MB / 0.5463 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.5609, allocations: 8.165 MB / 0.5543 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.5633, allocations: 23.88 kB / 0.5543 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.5673, allocations: 0.9674 MB / 0.5553 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.5706, allocations: 0.8132 MB / 0.5561 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.5741, allocations: 0.9519 MB / 0.557 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003963/0.5781, allocations: 2.008 MB / 0.559 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008629/0.5789, allocations: 423.1 kB / 0.5594 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.5805, allocations: 0.8022 MB / 0.5602 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.582, allocations: 0.8238 MB / 0.561 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.5823, allocations: 220 kB / 0.5612 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.5861, allocations: 1.156 MB / 0.5623 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007378/0.5868, allocations: 0.6516 MB / 0.5629 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.588, allocations: 0.9026 MB / 0.5638 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007097/0.5951, allocations: 4.043 MB / 0.5678 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5951, allocations: 0 / 0.5678 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5951, allocations: 3.938 kB / 0.5678 GB, free: 7.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.753e-05/0.5952, allocations: 4 kB / 0.5678 GB, free: 7.43 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.004959/0.6001, allocations: 2.561 MB / 0.5703 GB, free: 4.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.6002, allocations: 8.031 kB / 0.5703 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003947/0.6006, allocations: 333.9 kB / 0.5706 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.6025, allocations: 0.534 MB / 0.5711 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.6045, allocations: 1.07 MB / 0.5722 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004179/0.6049, allocations: 371.2 kB / 0.5725 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.6052, allocations: 200.3 kB / 0.5727 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.6163, allocations: 8.327 MB / 0.5808 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.6163, allocations: 0 / 0.5808 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.6165, allocations: 79.98 kB / 0.5809 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004098/0.6169, allocations: 348.7 kB / 0.5813 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/0.6352, allocations: 14.41 MB / 0.5953 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0337/0.6689, allocations: 19.7 MB / 0.6146 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/0.6747, allocations: 3.431 MB / 0.6179 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004225/0.679, allocations: 2.795 MB / 0.6206 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.6805, allocations: 0.5829 MB / 0.6212 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.6806, allocations: 47.56 kB / 0.6213 GB, free: 364 kB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.815e-06/0.6806, allocations: 4 kB / 0.6213 GB, free: 360 kB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.0559/0.7365, allocations: 16.74 MB / 0.6376 GB, free: 15.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01021/0.7467, allocations: 6.483 MB / 0.6439 GB, free: 8.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004209/0.7509, allocations: 2.939 MB / 0.6468 GB, free: 5.844 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004429/0.7514, allocations: 45.7 kB / 0.6469 GB, free: 5.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.7524, allocations: 0.9271 MB / 0.6478 GB, free: 4.859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006767/0.753, allocations: 432.3 kB / 0.6482 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.7541, allocations: 406.8 kB / 0.6486 GB, free: 4.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.7542, allocations: 345.9 kB / 0.6489 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005473/0.7597, allocations: 3.442 MB / 0.6523 GB, free: 248 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005436/0.7652, allocations: 3.61 MB / 0.6558 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02836/0.7935, allocations: 10.27 MB / 0.6658 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.7935, allocations: 4 kB / 0.6658 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01439/0.8079, allocations: 7.543 MB / 0.6732 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.8079, allocations: 12 kB / 0.6732 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.808, allocations: 7.938 kB / 0.6732 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.8094, allocations: 0.8045 MB / 0.674 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005239/0.8147, allocations: 0.8155 MB / 0.6748 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/0.8321, allocations: 13.46 MB / 0.6879 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.8343, allocations: 64.17 kB / 0.688 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006326/0.8349, allocations: 299.8 kB / 0.6883 GB, free: 10.57 MB / 0.5294 GB 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: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001624/0.8365, allocations: 0.5978 MB / 0.6889 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000838/0.8374, allocations: 250.4 kB / 0.6891 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.8474, allocations: 3.75 MB / 0.6928 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.8475, allocations: 19.94 kB / 0.6928 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8475, allocations: 0 / 0.6928 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.8475, allocations: 7.984 kB / 0.6928 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.8596, allocations: 5.579 MB / 0.6982 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.8596, allocations: 8 kB / 0.6983 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/0.8624, allocations: 332.1 kB / 0.6986 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.8644, allocations: 371.9 kB / 0.6989 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.8645, allocations: 31.98 kB / 0.699 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.8755, allocations: 8.274 MB / 0.707 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006078/0.8816, allocations: 3.689 MB / 0.7106 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007586/0.8891, allocations: 2.726 MB / 0.7133 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.8903, allocations: 370.3 kB / 0.7136 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.8907, allocations: 28 kB / 0.7137 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.8918, allocations: 47.95 kB / 0.7137 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/0.8922, allocations: 128.6 kB / 0.7138 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/0.8922, allocations: 39.98 kB / 0.7139 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005705/0.8979, allocations: 3.673 MB / 0.7175 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8979, allocations: 0 / 0.7175 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002678/0.9006, allocations: 0.7613 MB / 0.7182 GB, free: 10.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 3 ($STATESET2.x,$STATESET1.x,d1.rear.n_flow) * Number of discrete variables: 2 ($cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 2 systems {(3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008289/0.9089, allocations: 3.566 MB / 0.7217 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007728/0.9166, allocations: 4.321 MB / 0.7259 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.9166, allocations: 0 / 0.7259 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00299/0.9196, allocations: 1.352 MB / 0.7272 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/0.923, allocations: 0.6456 MB / 0.7279 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3473/1.27, allocations: 48.95 MB / 0.7757 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.271, allocations: 1.051 MB / 0.7767 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00172/1.273, allocations: 0.5576 MB / 0.7772 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.274, allocations: 1.025 MB / 0.7782 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.274, allocations: 0 / 0.7782 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/1.431, allocations: 93.88 MB / 0.8699 GB, free: 62.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/19.4, allocations: 0 / 0.8699 GB, free: 62.03 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_Chemical.Processes.Tests.TestMembrane.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Processes_Tests_TestMembrane_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Processes_Tests_TestMembrane.fmu > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.704169468022883] Failed to read output from testmodel.py, exit status != 0: 19.581127639859915 19.601883779 19.002625417 Calling exit ...