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.001416/0.001416, 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.001583/0.001583, allocations: 220.3 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.789 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.1603/0.1603, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.002092/0.002092, allocations: 75.89 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4014, allocations: 59.85 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.08253/0.484, allocations: 28.39 MB / 0.5462 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.502, allocations: 8.162 MB / 0.5542 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.5055, allocations: 23.94 kB / 0.5542 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004079/0.5096, allocations: 0.974 MB / 0.5552 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.5137, allocations: 0.8133 MB / 0.556 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.5175, allocations: 0.9485 MB / 0.5569 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004303/0.5218, allocations: 2.006 MB / 0.5589 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008742/0.5227, allocations: 423.2 kB / 0.5593 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.5242, allocations: 0.8024 MB / 0.56 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.5257, allocations: 0.9601 MB / 0.561 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.526, allocations: 223.9 kB / 0.5612 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.5299, allocations: 1.187 MB / 0.5624 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008331/0.5307, allocations: 0.6553 MB / 0.563 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.5322, allocations: 0.9029 MB / 0.5639 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008333/0.5405, allocations: 4.037 MB / 0.5678 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5405, allocations: 0 / 0.5678 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5405, allocations: 0 / 0.5678 GB, free: 7.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.859e-05/0.5406, allocations: 0 / 0.5678 GB, free: 7.355 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.00621/0.5468, allocations: 2.569 MB / 0.5703 GB, free: 4.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.848e-05/0.5469, allocations: 12.03 kB / 0.5703 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004465/0.5473, allocations: 325.8 kB / 0.5707 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.5495, allocations: 0.5378 MB / 0.5712 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.5515, allocations: 1.074 MB / 0.5722 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004159/0.552, allocations: 367.2 kB / 0.5726 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/0.5523, allocations: 192.4 kB / 0.5728 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.5637, allocations: 8.342 MB / 0.5809 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.5637, allocations: 0 / 0.5809 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.5639, allocations: 79.98 kB / 0.581 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/0.5643, allocations: 340.7 kB / 0.5813 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/0.5822, allocations: 14.42 MB / 0.5954 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03364/0.6158, allocations: 19.7 MB / 0.6146 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/0.6215, allocations: 3.435 MB / 0.618 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004192/0.6257, allocations: 2.799 MB / 0.6207 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/0.6274, allocations: 0.5751 MB / 0.6213 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.6274, allocations: 43.56 kB / 0.6213 GB, free: 276 kB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.316e-06/0.6274, allocations: 0 / 0.6213 GB, free: 276 kB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04484/0.6723, allocations: 16.75 MB / 0.6377 GB, free: 15.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01034/0.6826, allocations: 6.471 MB / 0.644 GB, free: 8.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/0.687, allocations: 2.939 MB / 0.6469 GB, free: 5.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005101/0.6875, allocations: 49.7 kB / 0.6469 GB, free: 5.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000994/0.6885, allocations: 0.931 MB / 0.6478 GB, free: 4.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006834/0.6891, allocations: 432.3 kB / 0.6482 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009982/0.6901, allocations: 402.8 kB / 0.6486 GB, free: 3.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6903, allocations: 353.9 kB / 0.649 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/0.6953, allocations: 3.438 MB / 0.6523 GB, free: 164 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005431/0.7007, allocations: 3.614 MB / 0.6558 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02856/0.7293, allocations: 10.27 MB / 0.6659 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.7293, allocations: 0 / 0.6659 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01389/0.7432, allocations: 7.547 MB / 0.6732 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.7432, allocations: 11.98 kB / 0.6733 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.7432, allocations: 7.938 kB / 0.6733 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.7446, allocations: 0.8085 MB / 0.6741 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/0.7498, allocations: 0.8078 MB / 0.6748 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/0.7667, allocations: 13.47 MB / 0.688 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.769, allocations: 63.94 kB / 0.6881 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005069/0.7695, allocations: 291.8 kB / 0.6883 GB, free: 10.49 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.001553/0.771, allocations: 0.5993 MB / 0.6889 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006842/0.7717, allocations: 250.4 kB / 0.6892 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.782, allocations: 3.735 MB / 0.6928 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.789e-05/0.7821, allocations: 15.94 kB / 0.6928 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7821, allocations: 0 / 0.6928 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.7821, allocations: 11.97 kB / 0.6928 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.7946, allocations: 5.587 MB / 0.6983 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.7946, allocations: 8 kB / 0.6983 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/0.7973, allocations: 323.9 kB / 0.6986 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.7996, allocations: 375.9 kB / 0.699 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.7997, allocations: 35.97 kB / 0.699 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.8105, allocations: 8.266 MB / 0.7071 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006509/0.817, allocations: 3.694 MB / 0.7107 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008185/0.8252, allocations: 2.726 MB / 0.7133 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.8265, allocations: 366.3 kB / 0.7137 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/0.827, allocations: 24 kB / 0.7137 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.8282, allocations: 55.95 kB / 0.7138 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.8286, allocations: 128.5 kB / 0.7139 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.8287, allocations: 48.19 kB / 0.7139 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006468/0.8351, allocations: 3.669 MB / 0.7175 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8351, allocations: 0 / 0.7175 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003233/0.8384, allocations: 0.7691 MB / 0.7183 GB, free: 10.61 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.009148/0.8475, allocations: 3.553 MB / 0.7217 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007844/0.8554, allocations: 4.321 MB / 0.726 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.8554, allocations: 0 / 0.726 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003116/0.8585, allocations: 1.356 MB / 0.7273 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.8621, allocations: 0.6458 MB / 0.7279 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3542/1.216, allocations: 48.96 MB / 0.7757 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/1.217, allocations: 1.054 MB / 0.7768 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002263/1.22, allocations: 0.5539 MB / 0.7773 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/1.221, allocations: 1.021 MB / 0.7783 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.305e-06/1.221, allocations: 0 / 0.7783 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1539/1.375, allocations: 94.17 MB / 0.8703 GB, free: 61.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/19.44, allocations: 0 / 0.8703 GB, free: 61.56 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.654304252006114] Failed to read output from testmodel.py, exit status != 0: 19.60268188000191 19.61203808 19.069193848 Calling exit ...