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.001232/0.001232, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001394/0.001394, allocations: 215 kB / 23.04 MB, free: 5.074 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.1695/0.1695, allocations: 23.86 MB / 337.1 MB, free: 11.18 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.002766/0.002766, allocations: 55.91 kB / 471.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4242, allocations: 59.86 MB / 0.5193 GB, free: 9.633 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.05332/0.4776, allocations: 29.4 MB / 0.548 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.4933, allocations: 9.355 MB / 0.5572 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.4963, allocations: 27.88 kB / 0.5572 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005636/0.5019, allocations: 1.08 MB / 0.5583 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005552/0.5075, allocations: 0.8161 MB / 0.5591 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006471/0.514, allocations: 0.9705 MB / 0.56 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007017/0.521, allocations: 2.008 MB / 0.562 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.5226, allocations: 427.2 kB / 0.5624 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.5251, allocations: 0.8015 MB / 0.5632 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003284/0.5284, allocations: 0.9568 MB / 0.5641 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.5295, allocations: 220 kB / 0.5643 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008275/0.5378, allocations: 1.763 MB / 0.566 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.5391, allocations: 0.6648 MB / 0.5667 GB, free: 9.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002872/0.542, allocations: 1.189 MB / 0.5678 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.5532, allocations: 4.204 MB / 0.5719 GB, free: 4.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5532, allocations: 0 / 0.5719 GB, free: 4.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5533, allocations: 0 / 0.5719 GB, free: 4.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001435/0.5534, allocations: 0 / 0.5719 GB, free: 4.203 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.007784/0.5612, allocations: 2.565 MB / 0.5744 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5612, allocations: 12.02 kB / 0.5745 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.511e-05/0.5613, allocations: 56.09 kB / 0.5745 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007973/0.5621, allocations: 321.9 kB / 0.5748 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.5638, allocations: 462.9 kB / 0.5753 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.5666, allocations: 1.067 MB / 0.5763 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005581/0.5672, allocations: 371.2 kB / 0.5767 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004968/0.5677, allocations: 204.1 kB / 0.5768 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.5795, allocations: 8.304 MB / 0.585 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.274e-05/0.5796, allocations: 0 / 0.585 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.58, allocations: 79.98 kB / 0.585 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004319/0.5804, allocations: 344.7 kB / 0.5854 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.5986, allocations: 14.39 MB / 0.5994 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.035/0.6336, allocations: 20.36 MB / 0.6193 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/0.6393, allocations: 3.412 MB / 0.6226 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004132/0.6434, allocations: 2.76 MB / 0.6253 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002181/0.6456, allocations: 0.6648 MB / 0.626 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.6456, allocations: 43.56 kB / 0.626 GB, free: 12.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 5.911e-06/0.6457, allocations: 0 / 0.626 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04282/0.6885, allocations: 16.6 MB / 0.6422 GB, free: 11.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01021/0.6987, allocations: 6.584 MB / 0.6487 GB, free: 5.012 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.7036, allocations: 2.942 MB / 0.6515 GB, free: 2.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005463/0.7042, allocations: 41.7 kB / 0.6516 GB, free: 2.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.7053, allocations: 0.9271 MB / 0.6525 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009486/0.7062, allocations: 440.2 kB / 0.6529 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/0.7077, allocations: 402.8 kB / 0.6533 GB, free: 244 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.7079, allocations: 350 kB / 0.6536 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004978/0.7129, allocations: 3.403 MB / 0.6569 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/0.7181, allocations: 3.583 MB / 0.6604 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03724/0.7553, allocations: 11.07 MB / 0.6712 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.7553, allocations: 4 kB / 0.6712 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01437/0.7697, allocations: 7.489 MB / 0.6786 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.7698, allocations: 7.938 kB / 0.6786 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.7698, allocations: 4 kB / 0.6786 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.7713, allocations: 0.8124 MB / 0.6794 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00541/0.7767, allocations: 0.7999 MB / 0.6801 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.7949, allocations: 13.63 MB / 0.6935 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.7971, allocations: 59.97 kB / 0.6935 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008924/0.798, allocations: 291.9 kB / 0.6938 GB, free: 5.961 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.00214/0.8001, allocations: 0.5995 MB / 0.6944 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.8013, allocations: 254.3 kB / 0.6946 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.8117, allocations: 3.676 MB / 0.6982 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.8117, allocations: 8 kB / 0.6982 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.8117, allocations: 4 kB / 0.6982 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.8117, allocations: 7.984 kB / 0.6982 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.8248, allocations: 6.378 MB / 0.7045 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.8248, allocations: 7.938 kB / 0.7045 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002735/0.8276, allocations: 311.8 kB / 0.7048 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.8295, allocations: 368 kB / 0.7051 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.8296, allocations: 35.98 kB / 0.7051 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.841, allocations: 8.391 MB / 0.7133 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006084/0.8471, allocations: 3.775 MB / 0.717 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007157/0.8543, allocations: 2.624 MB / 0.7196 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.8555, allocations: 370.2 kB / 0.7199 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006845/0.8562, allocations: 31.95 kB / 0.72 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.8575, allocations: 39.97 kB / 0.72 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/0.8579, allocations: 124.9 kB / 0.7201 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.858, allocations: 39.97 kB / 0.7202 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006153/0.8642, allocations: 3.673 MB / 0.7238 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8642, allocations: 3.938 kB / 0.7238 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00318/0.8673, allocations: 0.7652 MB / 0.7245 GB, free: 5.281 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.008143/0.8755, allocations: 3.475 MB / 0.7279 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2831/1.159, allocations: 4.243 MB / 0.732 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.159, allocations: 1.156 kB / 0.732 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002877/1.161, allocations: 1.311 MB / 0.7333 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/1.165, allocations: 0.6465 MB / 0.734 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06752/1.233, allocations: 48.79 MB / 0.7816 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.234, allocations: 1.625 MB / 0.7832 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00192/1.236, allocations: 0.5596 MB / 0.7837 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.238, allocations: 1.023 MB / 0.7847 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/1.238, allocations: 0 / 0.7847 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/1.375, allocations: 87.58 MB / 0.8703 GB, free: 63.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.29/21.66, allocations: 10.56 kB / 0.8703 GB, free: 63.09 MB / 0.5606 GB " [Timeout remaining time 638] (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.987652677926235] Failed to read output from testmodel.py, exit status != 0: 21.889810721040703 21.89882367 21.342692954 Calling exit ...