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.001342/0.001342, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001455/0.001455, allocations: 218.4 kB / 23.03 MB, free: 4.922 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1648/0.1648, allocations: 23.88 MB / 337.1 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="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.001948/0.001948, allocations: 59.91 kB / 471.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4193, allocations: 59.86 MB / 0.5193 GB, free: 9.539 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.08369/0.503, allocations: 28.13 MB / 0.5467 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.5197, allocations: 8.15 MB / 0.5547 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.5224, allocations: 23.88 kB / 0.5547 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004548/0.527, allocations: 0.9855 MB / 0.5557 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.5315, allocations: 0.8245 MB / 0.5565 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006041/0.5375, allocations: 0.9659 MB / 0.5574 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.5423, allocations: 2 MB / 0.5594 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.5435, allocations: 427.1 kB / 0.5598 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.5454, allocations: 0.8064 MB / 0.5606 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.5476, allocations: 0.9528 MB / 0.5615 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006743/0.5483, allocations: 224 kB / 0.5617 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.5525, allocations: 1.179 MB / 0.5629 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.5536, allocations: 0.6672 MB / 0.5635 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.5552, allocations: 0.9064 MB / 0.5644 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008333/0.5636, allocations: 4.04 MB / 0.5684 GB, free: 7.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.5636, allocations: 0 / 0.5684 GB, free: 7.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5636, allocations: 0 / 0.5684 GB, free: 7.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.959e-05/0.5637, allocations: 0 / 0.5684 GB, free: 7.602 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.005216/0.5689, allocations: 2.565 MB / 0.5709 GB, free: 4.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5689, allocations: 8.031 kB / 0.5709 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.559e-05/0.569, allocations: 56.09 kB / 0.5709 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004189/0.5694, allocations: 329.9 kB / 0.5712 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.5715, allocations: 0.534 MB / 0.5718 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.5737, allocations: 1.074 MB / 0.5728 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004367/0.5741, allocations: 371.2 kB / 0.5732 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.5744, allocations: 208.1 kB / 0.5734 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.5854, allocations: 8.327 MB / 0.5815 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.5854, allocations: 0 / 0.5815 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.5856, allocations: 79.98 kB / 0.5816 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003992/0.586, allocations: 344.7 kB / 0.5819 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.6028, allocations: 14.44 MB / 0.596 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.6363, allocations: 19.69 MB / 0.6152 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005714/0.642, allocations: 3.443 MB / 0.6186 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004164/0.6462, allocations: 2.791 MB / 0.6213 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001862/0.648, allocations: 0.5829 MB / 0.6219 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.621e-05/0.6481, allocations: 39.56 kB / 0.6219 GB, free: 456 kB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 4.809e-06/0.6481, allocations: 0 / 0.6219 GB, free: 456 kB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04706/0.6952, allocations: 16.75 MB / 0.6383 GB, free: 15.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01085/0.706, allocations: 6.483 MB / 0.6446 GB, free: 8.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005186/0.7112, allocations: 2.935 MB / 0.6475 GB, free: 5.941 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004832/0.7117, allocations: 45.7 kB / 0.6475 GB, free: 5.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.7128, allocations: 0.9232 MB / 0.6484 GB, free: 4.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008952/0.7137, allocations: 444.2 kB / 0.6489 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/0.7152, allocations: 406.8 kB / 0.6492 GB, free: 4.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.7153, allocations: 341.9 kB / 0.6496 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005232/0.7206, allocations: 3.446 MB / 0.6529 GB, free: 340 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005376/0.726, allocations: 3.61 MB / 0.6565 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03018/0.7561, allocations: 10.27 MB / 0.6665 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.7561, allocations: 0 / 0.6665 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01651/0.7727, allocations: 7.555 MB / 0.6739 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.7727, allocations: 11.94 kB / 0.6739 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.7727, allocations: 4 kB / 0.6739 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.7744, allocations: 0.8086 MB / 0.6747 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00555/0.7799, allocations: 0.8077 MB / 0.6755 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.7981, allocations: 13.46 MB / 0.6886 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.8003, allocations: 71.81 kB / 0.6887 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008652/0.8012, allocations: 291.9 kB / 0.689 GB, free: 10.66 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.002145/0.8033, allocations: 0.5957 MB / 0.6895 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/0.8044, allocations: 250.3 kB / 0.6898 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.8158, allocations: 3.738 MB / 0.6934 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.8158, allocations: 12 kB / 0.6934 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.8158, allocations: 4 kB / 0.6934 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.8159, allocations: 3.984 kB / 0.6934 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.8294, allocations: 5.587 MB / 0.6989 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.8294, allocations: 12.03 kB / 0.6989 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/0.8323, allocations: 331.6 kB / 0.6992 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/0.8345, allocations: 371.9 kB / 0.6996 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.8347, allocations: 35.97 kB / 0.6996 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.8465, allocations: 8.262 MB / 0.7077 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006414/0.8529, allocations: 3.697 MB / 0.7113 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008707/0.8616, allocations: 2.722 MB / 0.714 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.863, allocations: 366.2 kB / 0.7143 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/0.864, allocations: 39.94 kB / 0.7143 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/0.8659, allocations: 47.95 kB / 0.7144 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005006/0.8664, allocations: 132.5 kB / 0.7145 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.8666, allocations: 35.98 kB / 0.7145 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007533/0.8741, allocations: 3.677 MB / 0.7181 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8741, allocations: 0 / 0.7181 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004032/0.8781, allocations: 0.7575 MB / 0.7189 GB, free: 10.79 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.009528/0.8877, allocations: 3.555 MB / 0.7223 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008235/0.8959, allocations: 4.329 MB / 0.7266 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.8959, allocations: 0 / 0.7266 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003287/0.8992, allocations: 1.359 MB / 0.7279 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004154/0.9034, allocations: 0.6489 MB / 0.7285 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3476/1.251, allocations: 48.95 MB / 0.7763 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009612/1.252, allocations: 1.05 MB / 0.7774 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001775/1.254, allocations: 0.5587 MB / 0.7779 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/1.255, allocations: 1.015 MB / 0.7789 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.673e-06/1.255, allocations: 0 / 0.7789 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1471/1.402, allocations: 91.79 MB / 0.8685 GB, free: 64.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.89/22.29, allocations: 14.64 kB / 0.8686 GB, free: 64.17 MB / 0.5606 GB " [Timeout remaining time 637] (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: 25.676107703940943] Failed to read output from testmodel.py, exit status != 0: 22.5216297180159 22.54049138 21.972981458 Calling exit ...