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.001768/0.001768, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001984/0.001984, allocations: 217.5 kB / 22.26 MB, free: 5.078 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 2.085/2.085, allocations: 230.6 MB / 256 MB, free: 8.012 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.2384/0.2384, allocations: 23.89 MB / 336.3 MB, free: 11.17 MB / 270.1 MB " [Timeout remaining time 179] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_master_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.002288/0.002288, allocations: 71.89 kB / 471.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3882, allocations: 59.87 MB / 0.5186 GB, free: 9.613 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336: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:1336:7-1336: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:1350:7-1350: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:1350:7-1350: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.04714/0.4353, allocations: 29.57 MB / 0.5475 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.4521, allocations: 9.379 MB / 0.5567 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.4544, allocations: 39.81 kB / 0.5567 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.4579, allocations: 1 MB / 0.5577 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.4613, allocations: 0.843 MB / 0.5585 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.4647, allocations: 0.9514 MB / 0.5594 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003862/0.4686, allocations: 1.992 MB / 0.5614 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.4694, allocations: 427.7 kB / 0.5618 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.4708, allocations: 0.8274 MB / 0.5626 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.4727, allocations: 1.087 MB / 0.5637 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.4731, allocations: 204 kB / 0.5639 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.4778, allocations: 1.664 MB / 0.5655 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007517/0.4785, allocations: 0.5881 MB / 0.5661 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.4805, allocations: 1.15 MB / 0.5672 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007722/0.4882, allocations: 3.994 MB / 0.5711 GB, free: 4.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4882, allocations: 0 / 0.5711 GB, free: 4.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4882, allocations: 0 / 0.5711 GB, free: 4.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.4883, allocations: 7.875 kB / 0.5711 GB, free: 4.328 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.006233/0.4945, allocations: 2.51 MB / 0.5735 GB, free: 1.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.4946, allocations: 16.02 kB / 0.5736 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006993/0.4953, allocations: 321.9 kB / 0.5739 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.4965, allocations: 407 kB / 0.5743 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.4983, allocations: 0.8935 MB / 0.5751 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.4987, allocations: 275.3 kB / 0.5754 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004132/0.4991, allocations: 200.3 kB / 0.5756 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00858/0.5077, allocations: 6.898 MB / 0.5823 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.5077, allocations: 8 kB / 0.5823 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.5079, allocations: 79.98 kB / 0.5824 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000377/0.5083, allocations: 332.6 kB / 0.5827 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.5229, allocations: 12.65 MB / 0.5951 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01995/0.5428, allocations: 11.33 MB / 0.6061 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.5446, allocations: 0.7634 MB / 0.6069 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008977/0.5455, allocations: 435.7 kB / 0.6073 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008172/0.5536, allocations: 3.729 MB / 0.6109 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.5537, allocations: 39.22 kB / 0.611 GB, free: 11.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.677e-06/0.5537, allocations: 4 kB / 0.611 GB, free: 11.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=77): time 0.01201/0.5657, allocations: 3.714 MB / 0.6146 GB, free: 7.355 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.5657, allocations: 60.06 kB / 0.6147 GB, free: 7.285 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.5681, allocations: 1.411 MB / 0.616 GB, free: 5.863 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.813e-05/0.5682, allocations: 33.7 kB / 0.6161 GB, free: 5.824 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009782/0.5692, allocations: 1.114 MB / 0.6172 GB, free: 4.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.5695, allocations: 289.6 kB / 0.6174 GB, free: 4.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005296/0.5701, allocations: 306.8 kB / 0.6177 GB, free: 4.102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5703, allocations: 345.9 kB / 0.6181 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000858/0.5711, allocations: 422.4 kB / 0.6185 GB, free: 3.348 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.5724, allocations: 0.8509 MB / 0.6193 GB, free: 2.285 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01894/0.5913, allocations: 3.898 MB / 0.6231 GB, free: 14.17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/0.5914, allocations: 4 kB / 0.6231 GB, free: 14.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004494/0.5959, allocations: 1.702 MB / 0.6248 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.5959, allocations: 12 kB / 0.6248 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.5959, allocations: 16 kB / 0.6248 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.5965, allocations: 190.6 kB / 0.625 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.5988, allocations: 455.4 kB / 0.6254 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/0.6039, allocations: 4.346 MB / 0.6297 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.605, allocations: 44.12 kB / 0.6297 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/0.6053, allocations: 184 kB / 0.6299 GB, free: 6.867 MB / 478.1 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: 69 * Number of states: 0 () * Number of discrete variables: 2 (s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00143/0.6067, allocations: 0.6032 MB / 0.6305 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/0.6072, allocations: 155 kB / 0.6306 GB, free: 6.102 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.6118, allocations: 1.856 MB / 0.6324 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.6118, allocations: 11.94 kB / 0.6324 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.6118, allocations: 3.938 kB / 0.6324 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.6118, allocations: 3.984 kB / 0.6324 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006435/0.6182, allocations: 2.815 MB / 0.6352 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6183, allocations: 0 / 0.6352 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.6199, allocations: 211.9 kB / 0.6354 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/0.6204, allocations: 186.4 kB / 0.6356 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.6205, allocations: 19.98 kB / 0.6356 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.6254, allocations: 4.457 MB / 0.6399 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6254, allocations: 0 / 0.6399 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.6288, allocations: 1.344 MB / 0.6413 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/0.6293, allocations: 154.9 kB / 0.6414 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/0.6296, allocations: 19.98 kB / 0.6414 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007258/0.6304, allocations: 12 kB / 0.6414 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.6305, allocations: 56.39 kB / 0.6415 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.6306, allocations: 27.92 kB / 0.6415 GB, free: 10.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002176/0.6328, allocations: 1.147 MB / 0.6426 GB, free: 9.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6328, allocations: 4 kB / 0.6426 GB, free: 9.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001945/0.6347, allocations: 431.6 kB / 0.643 GB, free: 8.836 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (s1.logm,p1.logm,d1.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004341/0.639, allocations: 2.157 MB / 0.6452 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.6425, allocations: 1.281 MB / 0.6464 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.6425, allocations: 0 / 0.6464 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.6442, allocations: 0.6786 MB / 0.6471 GB, free: 4.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.6468, allocations: 425 kB / 0.6475 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/0.6743, allocations: 13.71 MB / 0.6609 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.6759, allocations: 1.589 MB / 0.6624 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001664/0.6775, allocations: 0.4911 MB / 0.6629 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/0.679, allocations: 0.9327 MB / 0.6638 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.679, allocations: 7.938 kB / 0.6638 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.7904, allocations: 44 MB / 0.7068 GB, free: 6.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.38/20.17, allocations: 16.42 kB / 0.7068 GB, free: 6.887 MB / 0.545 GB " [Timeout remaining time 640] (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.043846098007634] Failed to read output from testmodel.py, exit status != 0: 20.304246922954917 20.328998282 19.835986377 Calling exit ...