Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001346/0.001346, allocations: 97.88 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.001482/0.001482, allocations: 216.7 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1399/0.1399, allocations: 23.91 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Processes_Tests_TestMembrane",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_master_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.001989/0.001989, allocations: 63.91 kB / 471.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 59.87 MB / 0.5193 GB, free: 9.473 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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 master/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 master/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.07972/0.3873, allocations: 28.12 MB / 0.5468 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.4008, allocations: 8.157 MB / 0.5548 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.4027, allocations: 27.88 kB / 0.5548 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003294/0.406, allocations: 0.9816 MB / 0.5557 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.409, allocations: 0.8285 MB / 0.5566 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.412, allocations: 0.9584 MB / 0.5575 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002961/0.4149, allocations: 2.007 MB / 0.5594 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.4156, allocations: 425.2 kB / 0.5599 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.4167, allocations: 0.8051 MB / 0.5606 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.4178, allocations: 0.9609 MB / 0.5616 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.4181, allocations: 220 kB / 0.5618 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.4212, allocations: 1.187 MB / 0.5629 GB, free: 13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006828/0.4219, allocations: 0.655 MB / 0.5636 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.4229, allocations: 0.9071 MB / 0.5645 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006124/0.4291, allocations: 4.038 MB / 0.5684 GB, free: 7.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4291, allocations: 0 / 0.5684 GB, free: 7.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4291, allocations: 0 / 0.5684 GB, free: 7.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.962e-05/0.4291, allocations: 0 / 0.5684 GB, free: 7.574 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.004307/0.4334, allocations: 2.569 MB / 0.5709 GB, free: 4.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4335, allocations: 15.97 kB / 0.5709 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.795e-05/0.4335, allocations: 52.09 kB / 0.571 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003754/0.4339, allocations: 325.9 kB / 0.5713 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.4359, allocations: 0.534 MB / 0.5718 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.438, allocations: 1.078 MB / 0.5729 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004354/0.4385, allocations: 363.2 kB / 0.5732 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.4388, allocations: 204.1 kB / 0.5734 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00992/0.4487, allocations: 8.327 MB / 0.5815 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.4487, allocations: 0 / 0.5815 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.4489, allocations: 83.97 kB / 0.5816 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003826/0.4493, allocations: 344.7 kB / 0.582 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.465, allocations: 14.43 MB / 0.5961 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02965/0.4946, allocations: 19.71 MB / 0.6153 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005163/0.4998, allocations: 3.435 MB / 0.6186 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00384/0.5036, allocations: 2.791 MB / 0.6214 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/0.5052, allocations: 0.5751 MB / 0.6219 GB, free: 484 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.5052, allocations: 47.55 kB / 0.622 GB, free: 428 kB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.945e-06/0.5052, allocations: 0 / 0.622 GB, free: 428 kB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04325/0.5485, allocations: 16.75 MB / 0.6383 GB, free: 15.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009822/0.5583, allocations: 6.479 MB / 0.6447 GB, free: 8.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/0.5624, allocations: 2.939 MB / 0.6475 GB, free: 5.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000452/0.5629, allocations: 49.7 kB / 0.6476 GB, free: 5.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000952/0.5638, allocations: 0.931 MB / 0.6485 GB, free: 4.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007611/0.5646, allocations: 436.2 kB / 0.6489 GB, free: 4.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009896/0.5656, allocations: 398.8 kB / 0.6493 GB, free: 4.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5657, allocations: 345.9 kB / 0.6496 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004798/0.5705, allocations: 3.438 MB / 0.653 GB, free: 316 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00507/0.5756, allocations: 3.626 MB / 0.6565 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02829/0.6039, allocations: 10.26 MB / 0.6665 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.6039, allocations: 0 / 0.6665 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01355/0.6174, allocations: 7.559 MB / 0.6739 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.6175, allocations: 11.94 kB / 0.6739 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6175, allocations: 8.094 kB / 0.6739 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.6189, allocations: 0.8007 MB / 0.6747 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004976/0.6239, allocations: 0.8194 MB / 0.6755 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.6396, allocations: 13.44 MB / 0.6886 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.6414, allocations: 63.89 kB / 0.6887 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/0.6419, allocations: 295.9 kB / 0.689 GB, free: 10.65 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.001407/0.6434, allocations: 0.5997 MB / 0.6896 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/0.644, allocations: 254.3 kB / 0.6898 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/0.6542, allocations: 3.742 MB / 0.6935 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.6542, allocations: 11.98 kB / 0.6935 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6542, allocations: 4 kB / 0.6935 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.6542, allocations: 7.984 kB / 0.6935 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.6659, allocations: 5.591 MB / 0.699 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.666, allocations: 4 kB / 0.699 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/0.6686, allocations: 335.9 kB / 0.6993 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/0.6707, allocations: 359.9 kB / 0.6996 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.6708, allocations: 31.98 kB / 0.6997 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.6813, allocations: 8.274 MB / 0.7077 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00595/0.6872, allocations: 3.689 MB / 0.7113 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007605/0.6948, allocations: 2.726 MB / 0.714 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.6958, allocations: 370.2 kB / 0.7144 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/0.6964, allocations: 31.95 kB / 0.7144 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.6976, allocations: 55.89 kB / 0.7144 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/0.6979, allocations: 128.6 kB / 0.7146 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-05/0.698, allocations: 39.97 kB / 0.7146 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005272/0.7033, allocations: 3.673 MB / 0.7182 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7033, allocations: 4 kB / 0.7182 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002641/0.7059, allocations: 0.7575 MB / 0.7189 GB, free: 10.76 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.008513/0.7144, allocations: 3.563 MB / 0.7224 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007442/0.7219, allocations: 4.325 MB / 0.7266 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.7219, allocations: 4 kB / 0.7266 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003042/0.7249, allocations: 1.344 MB / 0.7279 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/0.7282, allocations: 0.6459 MB / 0.7286 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2795/1.008, allocations: 48.96 MB / 0.7764 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/1.009, allocations: 1.05 MB / 0.7774 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001451/1.01, allocations: 0.5591 MB / 0.778 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.011, allocations: 1.017 MB / 0.779 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.011, allocations: 0 / 0.779 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/1.133, allocations: 91.8 MB / 0.8686 GB, free: 64.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.89/21.03, allocations: 11.03 kB / 0.8686 GB, free: 64.04 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.TestMembrane.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Processes_Tests_TestMembrane_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Processes_Tests_TestMembrane.fmu > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.163961688056588] Failed to read output from testmodel.py, exit status != 0: 21.268249923945405 21.286071997 20.853398568 Calling exit ...