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.001379/0.001379, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001672/0.001672, allocations: 215 kB / 20.13 MB, free: 2.949 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.621/1.621, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1609/0.1609, allocations: 23.86 MB / 333.4 MB, free: 1.223 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_Chemical_Processes_Tests_TestMembrane",fmuType="cs",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.002745/0.002745, allocations: 63.34 kB / 466.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1418, allocations: 59.83 MB / 0.5142 GB, free: 13 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.0527/0.1945, allocations: 29.38 MB / 0.5428 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.2117, allocations: 9.349 MB / 0.552 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.2142, allocations: 23.88 kB / 0.552 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.2183, allocations: 1.076 MB / 0.553 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.2215, allocations: 0.8145 MB / 0.5538 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.2249, allocations: 0.9683 MB / 0.5548 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003623/0.2286, allocations: 2.004 MB / 0.5567 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008081/0.2294, allocations: 498.8 kB / 0.5572 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.2306, allocations: 0.8056 MB / 0.558 GB, free: 8 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.2318, allocations: 0.9494 MB / 0.5589 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.2321, allocations: 220 kB / 0.5591 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.2365, allocations: 1.771 MB / 0.5609 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006829/0.2372, allocations: 0.6542 MB / 0.5615 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.2386, allocations: 1.189 MB / 0.5627 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008844/0.2475, allocations: 4.2 MB / 0.5668 GB, free: 7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.2475, allocations: 0 / 0.5668 GB, free: 7 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.2475, allocations: 0 / 0.5668 GB, free: 7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001261/0.2476, allocations: 0 / 0.5668 GB, free: 7 MB / 430.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.006437/0.254, allocations: 2.643 MB / 0.5694 GB, free: 4.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2541, allocations: 12.03 kB / 0.5694 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.037e-05/0.2541, allocations: 64.09 kB / 0.5694 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003929/0.2545, allocations: 317.9 kB / 0.5697 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.2558, allocations: 454.9 kB / 0.5702 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.2577, allocations: 1.131 MB / 0.5713 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.2581, allocations: 303.8 kB / 0.5716 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.2584, allocations: 204.1 kB / 0.5718 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.2694, allocations: 7.936 MB / 0.5795 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.2694, allocations: 0 / 0.5795 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.2696, allocations: 83.97 kB / 0.5796 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000522/0.2702, allocations: 340.7 kB / 0.5799 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3398/0.6099, allocations: 13.78 MB / 0.5934 GB, free: 64.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03119/0.6411, allocations: 20 MB / 0.6129 GB, free: 55.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.6452, allocations: 3.372 MB / 0.6162 GB, free: 53.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002732/0.6479, allocations: 2.726 MB / 0.6189 GB, free: 51.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002045/0.65, allocations: 1.623 MB / 0.6204 GB, free: 49.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.65, allocations: 48.53 kB / 0.6205 GB, free: 49.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=94): time 2.925e-06/0.65, allocations: 2.656 kB / 0.6205 GB, free: 49.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=122): time 0.03543/0.6854, allocations: 16.77 MB / 0.6369 GB, free: 32.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007144/0.6926, allocations: 6.702 MB / 0.6434 GB, free: 25.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.6959, allocations: 2.933 MB / 0.6463 GB, free: 22.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007535/0.6966, allocations: 45.7 kB / 0.6463 GB, free: 22.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.6972, allocations: 0.9367 MB / 0.6472 GB, free: 21.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/0.6977, allocations: 430.5 kB / 0.6477 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008167/0.6985, allocations: 406.8 kB / 0.648 GB, free: 21.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.6986, allocations: 349.9 kB / 0.6484 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.7017, allocations: 3.335 MB / 0.6516 GB, free: 17.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.7049, allocations: 3.51 MB / 0.6551 GB, free: 13.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03039/0.7353, allocations: 11.01 MB / 0.6658 GB, free: 2.914 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.7353, allocations: 4.656 kB / 0.6658 GB, free: 2.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01217/0.7475, allocations: 7.37 MB / 0.673 GB, free: 11.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.7475, allocations: 10.5 kB / 0.673 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.7475, allocations: 4 kB / 0.673 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.7489, allocations: 0.7899 MB / 0.6738 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005286/0.7542, allocations: 0.7896 MB / 0.6746 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/0.7717, allocations: 13.96 MB / 0.6882 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.7737, allocations: 54.69 kB / 0.6883 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004983/0.7742, allocations: 291.9 kB / 0.6885 GB, free: 10.98 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: 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.001511/0.7757, allocations: 0.5985 MB / 0.6891 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007929/0.7765, allocations: 250.4 kB / 0.6894 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009736/0.7863, allocations: 3.662 MB / 0.6929 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.7863, allocations: 12 kB / 0.6929 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.7863, allocations: 0 / 0.6929 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.7863, allocations: 11.86 kB / 0.693 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.7983, allocations: 6.323 MB / 0.6991 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.7983, allocations: 4 kB / 0.6991 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/0.801, allocations: 309 kB / 0.6994 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/0.803, allocations: 379.8 kB / 0.6998 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/0.8031, allocations: 35.98 kB / 0.6998 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.8146, allocations: 8.888 MB / 0.7085 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006649/0.8213, allocations: 3.98 MB / 0.7124 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006819/0.8281, allocations: 2.603 MB / 0.7149 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.8291, allocations: 443.4 kB / 0.7154 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/0.8296, allocations: 31.94 kB / 0.7154 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/0.8306, allocations: 35.98 kB / 0.7154 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/0.8309, allocations: 119.3 kB / 0.7155 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-05/0.831, allocations: 42.61 kB / 0.7156 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005506/0.8365, allocations: 3.677 MB / 0.7192 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.8365, allocations: 0 / 0.7192 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002897/0.8394, allocations: 0.7665 MB / 0.7199 GB, free: 9.621 MB / 0.4981 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.00787/0.8473, allocations: 3.445 MB / 0.7233 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006879/0.8541, allocations: 4.18 MB / 0.7274 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.8542, allocations: 4 kB / 0.7274 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.8569, allocations: 1.307 MB / 0.7286 GB, free: 500 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/0.8602, allocations: 0.6462 MB / 0.7293 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07375/0.934, allocations: 48.23 MB / 0.7764 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.9357, allocations: 1.629 MB / 0.778 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002215/0.9379, allocations: 0.5537 MB / 0.7785 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/0.9398, allocations: 1.023 MB / 0.7795 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.9398, allocations: 0 / 0.7795 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4346/1.374, allocations: 86.67 MB / 0.8641 GB, free: 162 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/20.96, allocations: 6.031 kB / 0.8641 GB, free: 162 MB / 0.5762 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 os._exit(0), Time elapsed: 24.295459904009476] Failed to read output from testmodel.py, exit status != 0: 21.159125439997297 21.167833897 20.918140241 Calling exit ...