Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.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.001783/0.001783, allocations: 103.2 kB / 16.45 MB, free: 6.449 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.002096/0.002096, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.1427/0.1427, allocations: 23.89 MB / 332.7 MB, free: 12.36 MB / 270.1 MB " [Timeout remaining time 180] 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.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",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.002019/0.002019, allocations: 67.91 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3855, allocations: 59.83 MB / 0.5135 GB, free: 8.867 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:620:5-620:64: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:620:5-620:64: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. Notification: Performance of NFInst.instantiate(Chemical.Boundaries.Tests.TestBoundaries): time 0.0505/0.436, allocations: 34.71 MB / 0.5474 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.4507, allocations: 6.133 MB / 0.5534 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004393/0.455, allocations: 51.69 kB / 0.5535 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005236/0.4603, allocations: 1.285 MB / 0.5547 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005048/0.4653, allocations: 1.003 MB / 0.5557 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.4675, allocations: 443.2 kB / 0.5561 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006685/0.4742, allocations: 2.653 MB / 0.5587 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.4766, allocations: 1.135 MB / 0.5598 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.4791, allocations: 1.147 MB / 0.561 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/0.4823, allocations: 1.29 MB / 0.5622 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.4834, allocations: 280 kB / 0.5625 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.4874, allocations: 1.314 MB / 0.5638 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.4888, allocations: 0.8115 MB / 0.5646 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.4921, allocations: 1.776 MB / 0.5663 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009699/0.5018, allocations: 5.143 MB / 0.5713 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.5018, allocations: 0 / 0.5713 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5018, allocations: 0 / 0.5713 GB, free: 15.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002002/0.502, allocations: 0 / 0.5713 GB, free: 15.96 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.00829/0.5103, allocations: 3.862 MB / 0.5751 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.5104, allocations: 8.031 kB / 0.5751 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/0.5114, allocations: 477.7 kB / 0.5756 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.5126, allocations: 498.1 kB / 0.576 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.5157, allocations: 1.502 MB / 0.5775 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.5159, allocations: 246.5 kB / 0.5777 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006122/0.5165, allocations: 320 kB / 0.578 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00885/0.5254, allocations: 4.661 MB / 0.5826 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.5255, allocations: 19.81 kB / 0.5826 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004458/0.5259, allocations: 151.9 kB / 0.5828 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004462/0.5264, allocations: 345.8 kB / 0.5831 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006239/0.5326, allocations: 3.485 MB / 0.5865 GB, free: 15.88 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02814/0.5607, allocations: 21.33 MB / 0.6073 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.5622, allocations: 0.6935 MB / 0.608 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007911/0.563, allocations: 460.4 kB / 0.6084 GB, free: 8.555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004875/0.5635, allocations: 158.7 kB / 0.6086 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.5635, allocations: 50.5 kB / 0.6086 GB, free: 8.324 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.015e-06/0.5635, allocations: 0 / 0.6086 GB, free: 8.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003915/0.5674, allocations: 1.819 MB / 0.6104 GB, free: 6.453 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001945/0.5676, allocations: 302.8 kB / 0.6107 GB, free: 6.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008728/0.5764, allocations: 4.228 MB / 0.6148 GB, free: 1.844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.5765, allocations: 33.7 kB / 0.6149 GB, free: 1.805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/0.5786, allocations: 1.763 MB / 0.6166 GB, free: 32 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.5788, allocations: 115.2 kB / 0.6167 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/0.5792, allocations: 158.6 kB / 0.6168 GB, free: 15.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5794, allocations: 337.9 kB / 0.6172 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008448/0.5802, allocations: 461.7 kB / 0.6176 GB, free: 14.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.5814, allocations: 0.8444 MB / 0.6184 GB, free: 13.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.5835, allocations: 1.376 MB / 0.6198 GB, free: 12.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.5835, allocations: 7.75 kB / 0.6198 GB, free: 12.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003604/0.5871, allocations: 1.665 MB / 0.6214 GB, free: 10.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.5871, allocations: 16.03 kB / 0.6214 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.19e-05/0.5872, allocations: 16 kB / 0.6214 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/0.5875, allocations: 57.7 kB / 0.6215 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.5882, allocations: 203.6 kB / 0.6217 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.5907, allocations: 2.785 MB / 0.6244 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.5927, allocations: 372.7 kB / 0.6248 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.5928, allocations: 67.97 kB / 0.6248 GB, free: 6.867 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.001788/0.5946, allocations: 0.7668 MB / 0.6256 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009426/0.5955, allocations: 353.6 kB / 0.6259 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.5983, allocations: 1.032 MB / 0.6269 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.5984, allocations: 8.062 kB / 0.6269 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5984, allocations: 4 kB / 0.6269 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.5984, allocations: 7.984 kB / 0.6269 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00511/0.6035, allocations: 2.212 MB / 0.6291 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.6035, allocations: 11.92 kB / 0.6291 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.6039, allocations: 67.91 kB / 0.6292 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.6041, allocations: 53.67 kB / 0.6292 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.6042, allocations: 12 kB / 0.6292 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.6066, allocations: 2.777 MB / 0.632 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/0.6066, allocations: 4.031 kB / 0.632 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.6093, allocations: 1.978 MB / 0.6339 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.6106, allocations: 0.5376 MB / 0.6344 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007504/0.6114, allocations: 8 kB / 0.6344 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.6128, allocations: 23.97 kB / 0.6344 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6129, allocations: 31.91 kB / 0.6345 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.613, allocations: 19.98 kB / 0.6345 GB, free: 12.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006556/0.6195, allocations: 3.184 MB / 0.6376 GB, free: 9.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6195, allocations: 0 / 0.6376 GB, free: 9.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002678/0.6222, allocations: 0.5304 MB / 0.6381 GB, free: 8.816 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (boundary_fore.rear.n_flow,terminalInflow.u,terminalOutflow.u,boundary_fore2.rear.n_flow,terminalInflow1.u,terminalOutflow1.u,solution.temperature) * 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 (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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.003649/0.6259, allocations: 2.654 MB / 0.6407 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.6279, allocations: 1.012 MB / 0.6417 GB, free: 5.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6279, allocations: 0 / 0.6417 GB, free: 5.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.6287, allocations: 498 kB / 0.6422 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005424/0.6341, allocations: 0.8108 MB / 0.643 GB, free: 3.777 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0584/0.6925, allocations: 29.87 MB / 0.6721 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/0.6952, allocations: 1.991 MB / 0.6741 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001395/0.6965, allocations: 400.8 kB / 0.6745 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/0.6985, allocations: 1.374 MB / 0.6758 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.6985, allocations: 0 / 0.6758 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3803/1.079, allocations: 67.94 MB / 0.7422 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.2/20.28, allocations: 17.77 kB / 0.7422 GB, free: 177.4 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Boundaries_Tests_TestBoundaries.fmu > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.423403919208795] Failed to read output from testmodel.py, exit status != 0: 20.407595153898 20.424438924 19.919192642 Calling exit ...