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.0008581/0.0008581, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008237/0.0008237, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.928/0.928, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.1007/0.1007, allocations: 17.37 MB / 276.6 MB, free: 11.85 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 411.4 MB, free: 452 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.781e-05, allocations: 7.906 kB / 411.4 MB, free: 444 kB / 378.7 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.02749/0.02752, allocations: 28.77 MB / 440.2 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2208/0.2483, allocations: 8.149 MB / 448.4 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.2493, allocations: 24.09 kB / 448.4 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.2529, allocations: 0.9911 MB / 449.4 MB, free: 59.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.2551, allocations: 0.8438 MB / 450.2 MB, free: 58.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.2573, allocations: 0.9616 MB / 451.2 MB, free: 58.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.2589, allocations: 2.076 MB / 453.2 MB, free: 57.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.2594, allocations: 422 kB / 453.7 MB, free: 57.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008319/0.2602, allocations: 1.215 MB / 454.9 MB, free: 56.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005895/0.2608, allocations: 0.6987 MB / 455.6 MB, free: 56.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.261, allocations: 224 kB / 455.8 MB, free: 56.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.2628, allocations: 1.164 MB / 457 MB, free: 56.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.263, allocations: 0.66 MB / 457.6 MB, free: 56.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.2635, allocations: 0.7383 MB / 458.4 MB, free: 55.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.2659, allocations: 4.064 MB / 462.4 MB, free: 54.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2659, allocations: 0 / 462.4 MB, free: 54.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2659, allocations: 2.781 kB / 462.4 MB, free: 54.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.2659, allocations: 0 / 462.4 MB, free: 54.2 MB / 410.7 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.002498/0.2684, allocations: 2.556 MB / 465 MB, free: 52.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.2685, allocations: 9.969 kB / 465 MB, free: 52.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002919/0.2688, allocations: 317.7 kB / 465.3 MB, free: 52.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.2701, allocations: 0.5297 MB / 465.8 MB, free: 52.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.2714, allocations: 1.083 MB / 466.9 MB, free: 51.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.2717, allocations: 366.8 kB / 467.3 MB, free: 51.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.2719, allocations: 194.8 kB / 467.5 MB, free: 51.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006634/0.2785, allocations: 8.325 MB / 475.8 MB, free: 47.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.2785, allocations: 3.031 kB / 475.8 MB, free: 47.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.2787, allocations: 80.39 kB / 475.9 MB, free: 47.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/0.2789, allocations: 346.4 kB / 476.2 MB, free: 47.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.2897, allocations: 14.41 MB / 490.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.3071, allocations: 19.69 MB / 0.4983 GB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.3105, allocations: 3.439 MB / 0.5017 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.3131, allocations: 2.796 MB / 0.5044 GB, free: 24.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.3142, allocations: 0.5716 MB / 0.505 GB, free: 23.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3142, allocations: 53.69 kB / 0.505 GB, free: 23.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=94): time 4.047e-06/0.3142, allocations: 0 / 0.505 GB, free: 23.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.02179/0.336, allocations: 16.76 MB / 0.5214 GB, free: 8.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004502/0.3405, allocations: 6.469 MB / 0.5277 GB, free: 1.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.3434, allocations: 2.939 MB / 0.5306 GB, free: 14.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.3436, allocations: 45.7 kB / 0.5306 GB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006867/0.3443, allocations: 0.9349 MB / 0.5316 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005241/0.3448, allocations: 438.9 kB / 0.532 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.3454, allocations: 402.7 kB / 0.5324 GB, free: 12.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.3455, allocations: 349.9 kB / 0.5327 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.3487, allocations: 3.438 MB / 0.536 GB, free: 9.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003414/0.3521, allocations: 3.616 MB / 0.5396 GB, free: 5.508 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/0.3668, allocations: 10.26 MB / 0.5496 GB, free: 11.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.3668, allocations: 4 kB / 0.5496 GB, free: 11.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.008498/0.3753, allocations: 7.557 MB / 0.557 GB, free: 3.715 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3753, allocations: 8 kB / 0.557 GB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3753, allocations: 4 kB / 0.557 GB, free: 3.703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008467/0.3762, allocations: 0.8101 MB / 0.5578 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/0.3788, allocations: 0.8116 MB / 0.5586 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009841/0.3887, allocations: 13.44 MB / 0.5717 GB, free: 4.055 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.3899, allocations: 66.59 kB / 0.5718 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003159/0.3902, allocations: 291.9 kB / 0.572 GB, free: 3.707 MB / 458.7 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.001778/0.392, allocations: 0.6046 MB / 0.5726 GB, free: 3.098 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/0.3924, allocations: 250.4 kB / 0.5729 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.3975, allocations: 3.742 MB / 0.5765 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3975, allocations: 8 kB / 0.5765 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.3975, allocations: 4 kB / 0.5765 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.3975, allocations: 11.11 kB / 0.5766 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/0.4042, allocations: 5.588 MB / 0.582 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4042, allocations: 7.984 kB / 0.582 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.4055, allocations: 324.9 kB / 0.5823 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009047/0.4065, allocations: 373.5 kB / 0.5827 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/0.4065, allocations: 31.97 kB / 0.5827 GB, free: 8.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007293/0.4138, allocations: 8.264 MB / 0.5908 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003446/0.4173, allocations: 3.697 MB / 0.5944 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004318/0.4216, allocations: 2.716 MB / 0.597 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009438/0.4225, allocations: 366.2 kB / 0.5974 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/0.423, allocations: 31.92 kB / 0.5974 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/0.4237, allocations: 54.61 kB / 0.5975 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.424, allocations: 124.7 kB / 0.5976 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.424, allocations: 35.98 kB / 0.5976 GB, free: 8.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004175/0.4282, allocations: 3.677 MB / 0.6012 GB, free: 4.727 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4282, allocations: 0 / 0.6012 GB, free: 4.727 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002329/0.4305, allocations: 0.7575 MB / 0.602 GB, free: 3.969 MB / 490.7 MB 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.005252/0.4358, allocations: 3.569 MB / 0.6054 GB, free: 332 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004814/0.4406, allocations: 4.318 MB / 0.6097 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.4406, allocations: 2.656 kB / 0.6097 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.4422, allocations: 1.334 MB / 0.611 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.4446, allocations: 0.6471 MB / 0.6116 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2295/0.6741, allocations: 48.34 MB / 0.6588 GB, free: 137 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.6751, allocations: 1.052 MB / 0.6598 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00187/0.677, allocations: 0.5525 MB / 0.6604 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/0.6784, allocations: 1.019 MB / 0.6614 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of SimCode: time 3.316e-06/0.6784, allocations: 0 / 0.6614 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/0.7984, allocations: 93.21 MB / 0.7524 GB, free: 57.42 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.91, allocations: 10.42 kB / 0.7524 GB, free: 57.42 MB / 0.4948 GB " [Timeout remaining time 647] (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: 15.00784406810999] Failed to read output from testmodel.py, exit status != 0: 13.038712269626558 13.047102605 12.779824991 Calling exit ...