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.001535/0.001535, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.00158/0.00158, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.565/1.565, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.1621/0.1621, allocations: 23.85 MB / 332.7 MB, free: 12.33 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.00203/0.00203, allocations: 66.41 kB / 466 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4444, allocations: 59.81 MB / 0.5134 GB, free: 8.836 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.04588/0.4902, allocations: 29.58 MB / 0.5423 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.5059, allocations: 9.342 MB / 0.5515 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.5082, allocations: 23.88 kB / 0.5515 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003997/0.5122, allocations: 1.068 MB / 0.5525 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.5155, allocations: 0.8251 MB / 0.5533 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.5194, allocations: 0.9636 MB / 0.5543 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003849/0.5232, allocations: 2.001 MB / 0.5562 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/0.5242, allocations: 495 kB / 0.5567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.5257, allocations: 0.798 MB / 0.5575 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.5274, allocations: 0.961 MB / 0.5584 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006249/0.5281, allocations: 224 kB / 0.5586 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/0.5336, allocations: 1.762 MB / 0.5604 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.5348, allocations: 0.6513 MB / 0.561 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002366/0.5371, allocations: 1.191 MB / 0.5622 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.5472, allocations: 4.203 MB / 0.5663 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.5472, allocations: 0 / 0.5663 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5472, allocations: 4 kB / 0.5663 GB, free: 5.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000144/0.5474, allocations: 4 kB / 0.5663 GB, free: 5.18 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.006912/0.5543, allocations: 2.636 MB / 0.5688 GB, free: 2.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5543, allocations: 12.03 kB / 0.5688 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004531/0.5548, allocations: 333.8 kB / 0.5692 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.5561, allocations: 454.9 kB / 0.5696 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.5581, allocations: 1.123 MB / 0.5707 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.5585, allocations: 311.8 kB / 0.571 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.5588, allocations: 196.4 kB / 0.5712 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.5688, allocations: 7.948 MB / 0.5789 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.5688, allocations: 0 / 0.5789 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.569, allocations: 79.98 kB / 0.579 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004025/0.5694, allocations: 340.7 kB / 0.5793 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.5859, allocations: 13.78 MB / 0.5928 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03352/0.6195, allocations: 20.02 MB / 0.6124 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005737/0.6252, allocations: 3.361 MB / 0.6156 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004177/0.6294, allocations: 2.721 MB / 0.6183 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002869/0.6322, allocations: 1.628 MB / 0.6199 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.6323, allocations: 47.56 kB / 0.6199 GB, free: 13.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.777e-06/0.6323, allocations: 0 / 0.6199 GB, free: 13.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04603/0.6783, allocations: 16.77 MB / 0.6363 GB, free: 12.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01104/0.6894, allocations: 6.702 MB / 0.6429 GB, free: 5.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/0.6941, allocations: 2.931 MB / 0.6457 GB, free: 2.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005105/0.6946, allocations: 49.7 kB / 0.6458 GB, free: 2.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.6957, allocations: 0.9271 MB / 0.6467 GB, free: 1.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008591/0.6965, allocations: 440.2 kB / 0.6471 GB, free: 1.363 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.6975, allocations: 398.8 kB / 0.6475 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.6977, allocations: 353.9 kB / 0.6478 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005031/0.7028, allocations: 3.333 MB / 0.6511 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005795/0.7086, allocations: 3.516 MB / 0.6545 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03771/0.7463, allocations: 11.01 MB / 0.6652 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.7463, allocations: 0 / 0.6652 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01404/0.7603, allocations: 7.371 MB / 0.6724 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.7603, allocations: 10.81 kB / 0.6725 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.7604, allocations: 7.938 kB / 0.6725 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.7618, allocations: 0.7851 MB / 0.6732 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005429/0.7673, allocations: 0.7961 MB / 0.674 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.7884, allocations: 13.95 MB / 0.6876 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.7906, allocations: 47.97 kB / 0.6877 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/0.7912, allocations: 299.8 kB / 0.688 GB, free: 6.598 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.001846/0.793, allocations: 0.5952 MB / 0.6885 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007958/0.7938, allocations: 254.3 kB / 0.6888 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009893/0.8037, allocations: 3.664 MB / 0.6924 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.8037, allocations: 15.94 kB / 0.6924 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.8037, allocations: 4 kB / 0.6924 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.8038, allocations: 3.984 kB / 0.6924 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.8158, allocations: 6.317 MB / 0.6986 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.8158, allocations: 8 kB / 0.6986 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/0.8186, allocations: 312.4 kB / 0.6989 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/0.8207, allocations: 367.9 kB / 0.6992 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8208, allocations: 35.98 kB / 0.6992 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.8316, allocations: 8.9 MB / 0.7079 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006122/0.8377, allocations: 3.978 MB / 0.7118 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006963/0.8447, allocations: 2.604 MB / 0.7144 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.846, allocations: 443.4 kB / 0.7148 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005979/0.8466, allocations: 27.94 kB / 0.7148 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.8477, allocations: 39.97 kB / 0.7149 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/0.8481, allocations: 124.9 kB / 0.715 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.8482, allocations: 44.34 kB / 0.715 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006461/0.8547, allocations: 3.669 MB / 0.7186 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8547, allocations: 0 / 0.7186 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003594/0.8583, allocations: 0.7652 MB / 0.7193 GB, free: 5.027 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.008754/0.8671, allocations: 3.453 MB / 0.7227 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2893/1.156, allocations: 4.173 MB / 0.7268 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.156, allocations: 2.688 kB / 0.7268 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/1.159, allocations: 1.303 MB / 0.7281 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/1.163, allocations: 0.6458 MB / 0.7287 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0745/1.238, allocations: 48.24 MB / 0.7758 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.239, allocations: 1.63 MB / 0.7774 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002162/1.241, allocations: 0.5577 MB / 0.7779 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/1.243, allocations: 1.021 MB / 0.7789 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.024e-06/1.243, allocations: 0 / 0.7789 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1446/1.388, allocations: 86.64 MB / 0.8635 GB, free: 65.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.51/20.9, allocations: 3.859 kB / 0.8636 GB, free: 65.41 MB / 0.5606 GB " [Timeout remaining time 639] (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: 24.064991575898603] Failed to read output from testmodel.py, exit status != 0: 21.044840580085292 21.064037723 20.512711923 Calling exit ...