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.001857/0.001857, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002535/0.002535, allocations: 215.9 kB / 22.25 MB, free: 5.121 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 7.988 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.1689/0.1689, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.003208/0.003208, allocations: 71.83 kB / 471.2 MB, free: 7.727 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.5016, allocations: 59.85 MB / 0.5186 GB, free: 9.637 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.05527/0.5568, allocations: 29.58 MB / 0.5474 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.5736, allocations: 9.363 MB / 0.5566 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.5759, allocations: 23.88 kB / 0.5566 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.5797, allocations: 1.065 MB / 0.5577 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.5836, allocations: 0.8061 MB / 0.5584 GB, free: 280 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.5874, allocations: 0.9518 MB / 0.5594 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004498/0.5919, allocations: 2.008 MB / 0.5613 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009768/0.5929, allocations: 422.9 kB / 0.5617 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.5945, allocations: 0.7977 MB / 0.5625 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.5965, allocations: 0.9606 MB / 0.5635 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007532/0.5973, allocations: 220 kB / 0.5637 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005967/0.6033, allocations: 1.762 MB / 0.5654 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.6046, allocations: 0.6591 MB / 0.566 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003501/0.6081, allocations: 1.193 MB / 0.5672 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008756/0.6169, allocations: 4.196 MB / 0.5713 GB, free: 4.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.6169, allocations: 4 kB / 0.5713 GB, free: 4.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6169, allocations: 0 / 0.5713 GB, free: 4.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001361/0.6171, allocations: 0 / 0.5713 GB, free: 4.109 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.006229/0.6233, allocations: 2.569 MB / 0.5738 GB, free: 1.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.6233, allocations: 12.03 kB / 0.5738 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003922/0.6237, allocations: 329.9 kB / 0.5741 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.6249, allocations: 442.9 kB / 0.5745 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.6269, allocations: 1.071 MB / 0.5756 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/0.6273, allocations: 371.2 kB / 0.5759 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.6275, allocations: 196.4 kB / 0.5761 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.6377, allocations: 8.311 MB / 0.5843 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.706e-05/0.6377, allocations: 0 / 0.5843 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.6379, allocations: 79.98 kB / 0.5843 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004215/0.6383, allocations: 340.7 kB / 0.5847 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.6556, allocations: 14.4 MB / 0.5987 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03745/0.6931, allocations: 20.36 MB / 0.6186 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005893/0.699, allocations: 3.408 MB / 0.6219 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/0.7031, allocations: 2.756 MB / 0.6246 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002246/0.7054, allocations: 0.6687 MB / 0.6253 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.7054, allocations: 51.55 kB / 0.6253 GB, free: 12.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.186e-06/0.7054, allocations: 0 / 0.6253 GB, free: 12.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04519/0.7506, allocations: 16.59 MB / 0.6415 GB, free: 11.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01195/0.7626, allocations: 6.58 MB / 0.6479 GB, free: 4.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005654/0.7682, allocations: 2.935 MB / 0.6508 GB, free: 2.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005117/0.7687, allocations: 45.7 kB / 0.6509 GB, free: 1.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.7699, allocations: 0.931 MB / 0.6518 GB, free: 1.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009663/0.7709, allocations: 436.2 kB / 0.6522 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.7724, allocations: 398.8 kB / 0.6526 GB, free: 216 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.7726, allocations: 353.9 kB / 0.6529 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/0.7776, allocations: 3.415 MB / 0.6562 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00526/0.7829, allocations: 3.571 MB / 0.6597 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03699/0.8198, allocations: 11.08 MB / 0.6705 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.8199, allocations: 0 / 0.6705 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0148/0.8347, allocations: 7.496 MB / 0.6779 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.8347, allocations: 8 kB / 0.6779 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.8347, allocations: 7.938 kB / 0.6779 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.8362, allocations: 0.8007 MB / 0.6787 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005118/0.8413, allocations: 0.7999 MB / 0.6794 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.861, allocations: 13.64 MB / 0.6928 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.8632, allocations: 51.91 kB / 0.6928 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009247/0.8642, allocations: 295.8 kB / 0.6931 GB, free: 5.918 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.00254/0.8667, allocations: 0.5988 MB / 0.6937 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/0.868, allocations: 254.3 kB / 0.6939 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.8794, allocations: 3.68 MB / 0.6975 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.8794, allocations: 15.94 kB / 0.6975 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.8794, allocations: 0 / 0.6975 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.8795, allocations: 7.969 kB / 0.6975 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.8943, allocations: 6.366 MB / 0.7038 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/0.8944, allocations: 11.94 kB / 0.7038 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/0.897, allocations: 312.3 kB / 0.7041 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.8991, allocations: 375.8 kB / 0.7044 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.8992, allocations: 31.97 kB / 0.7045 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.9106, allocations: 8.391 MB / 0.7126 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006922/0.9175, allocations: 3.775 MB / 0.7163 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008009/0.9255, allocations: 2.624 MB / 0.7189 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.9269, allocations: 370.2 kB / 0.7192 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009189/0.9278, allocations: 35.94 kB / 0.7193 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.9294, allocations: 35.98 kB / 0.7193 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/0.9298, allocations: 132.5 kB / 0.7194 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.9299, allocations: 39.98 kB / 0.7195 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007012/0.9369, allocations: 3.669 MB / 0.7231 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9369, allocations: 0 / 0.7231 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003841/0.9407, allocations: 0.7613 MB / 0.7238 GB, free: 5.242 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.008958/0.9497, allocations: 3.473 MB / 0.7272 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3189/1.269, allocations: 4.253 MB / 0.7314 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.269, allocations: 1.375 kB / 0.7314 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/1.272, allocations: 1.307 MB / 0.7326 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/1.275, allocations: 0.6441 MB / 0.7333 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06952/1.344, allocations: 48.8 MB / 0.7809 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.346, allocations: 1.627 MB / 0.7825 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002147/1.348, allocations: 0.5565 MB / 0.783 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.349, allocations: 1.019 MB / 0.784 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/1.349, allocations: 0 / 0.784 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1645/1.514, allocations: 87.54 MB / 0.8695 GB, free: 63.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.59/22.1, allocations: 15.38 kB / 0.8695 GB, free: 63.05 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: 25.517086283070967] Failed to read output from testmodel.py, exit status != 0: 22.270953391911462 22.280627271 21.661158689 Calling exit ...