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.001427/0.001427, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001661/0.001661, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1637/0.1637, allocations: 23.89 MB / 333.4 MB, free: 1.184 MB / 254.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.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",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.001928/0.001928, allocations: 70.95 kB / 466.7 MB, free: 30.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 59.83 MB / 0.5142 GB, free: 12.91 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1562:5-1562: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/Interfaces.mo:1562:5-1562: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.04749/0.1505, allocations: 34.52 MB / 0.5479 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.1615, allocations: 6.197 MB / 0.554 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.1644, allocations: 47.69 kB / 0.554 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.1688, allocations: 1.363 MB / 0.5554 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.1719, allocations: 0.961 MB / 0.5563 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1734, allocations: 434.6 kB / 0.5567 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004556/0.178, allocations: 2.611 MB / 0.5593 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.1798, allocations: 1.128 MB / 0.5604 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.1812, allocations: 1.101 MB / 0.5614 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.1828, allocations: 1.295 MB / 0.5627 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004557/0.1832, allocations: 284 kB / 0.563 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.1859, allocations: 1.346 MB / 0.5643 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008406/0.1868, allocations: 0.8135 MB / 0.5651 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002126/0.1889, allocations: 1.779 MB / 0.5668 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007066/0.196, allocations: 5.187 MB / 0.5719 GB, free: 1.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.196, allocations: 0 / 0.5719 GB, free: 1.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.196, allocations: 0 / 0.5719 GB, free: 1.699 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.1961, allocations: 0 / 0.5719 GB, free: 1.699 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.005906/0.202, allocations: 3.873 MB / 0.5757 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.202, allocations: 8.031 kB / 0.5757 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001/0.2021, allocations: 94.62 kB / 0.5758 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000619/0.2028, allocations: 473.7 kB / 0.5762 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008519/0.2036, allocations: 490.1 kB / 0.5767 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.2059, allocations: 1.503 MB / 0.5782 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.2061, allocations: 250.4 kB / 0.5784 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.2065, allocations: 312 kB / 0.5787 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006844/0.2133, allocations: 4.669 MB / 0.5832 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.238e-05/0.2134, allocations: 19.81 kB / 0.5833 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.2136, allocations: 140 kB / 0.5834 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004007/0.214, allocations: 349.8 kB / 0.5837 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/0.2195, allocations: 3.477 MB / 0.5871 GB, free: 1.52 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.2452/0.4648, allocations: 21.36 MB / 0.608 GB, free: 47.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.4659, allocations: 0.7014 MB / 0.6087 GB, free: 46.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006541/0.4666, allocations: 462.1 kB / 0.6091 GB, free: 46.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/0.467, allocations: 158.6 kB / 0.6093 GB, free: 46.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4671, allocations: 52.41 kB / 0.6093 GB, free: 46.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.375e-06/0.4671, allocations: 3.594 kB / 0.6093 GB, free: 46.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.003434/0.4705, allocations: 1.84 MB / 0.6111 GB, free: 45.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.4706, allocations: 289 kB / 0.6114 GB, free: 45.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00652/0.4771, allocations: 4.304 MB / 0.6156 GB, free: 43.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.4772, allocations: 34.42 kB / 0.6156 GB, free: 43.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.4785, allocations: 1.756 MB / 0.6173 GB, free: 41.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.4786, allocations: 117.3 kB / 0.6175 GB, free: 41.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.4789, allocations: 151.8 kB / 0.6176 GB, free: 41.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.479, allocations: 337.6 kB / 0.6179 GB, free: 41.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.4796, allocations: 457.2 kB / 0.6184 GB, free: 41.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008255/0.4804, allocations: 0.8382 MB / 0.6192 GB, free: 40.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4818, allocations: 1.331 MB / 0.6205 GB, free: 39.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.4818, allocations: 4.188 kB / 0.6205 GB, free: 39.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003151/0.485, allocations: 1.657 MB / 0.6221 GB, free: 38.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.485, allocations: 13.12 kB / 0.6221 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.4851, allocations: 18.16 kB / 0.6221 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.4853, allocations: 59.28 kB / 0.6222 GB, free: 38.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.4859, allocations: 190.1 kB / 0.6224 GB, free: 38.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.4873, allocations: 2.79 MB / 0.6251 GB, free: 35.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.489, allocations: 363.8 kB / 0.6254 GB, free: 35.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.4891, allocations: 63.19 kB / 0.6255 GB, free: 35.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (86): * Single equations (assignments): 84 * 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.001295/0.4904, allocations: 0.7665 MB / 0.6262 GB, free: 34.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007429/0.4912, allocations: 364.4 kB / 0.6266 GB, free: 34.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.4932, allocations: 1.052 MB / 0.6276 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4932, allocations: 3.844 kB / 0.6276 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4932, allocations: 3.906 kB / 0.6276 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4932, allocations: 3.906 kB / 0.6276 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.4968, allocations: 2.214 MB / 0.6298 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4968, allocations: 4.156 kB / 0.6298 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.4971, allocations: 79.83 kB / 0.6299 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.4973, allocations: 43.81 kB / 0.6299 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.4973, allocations: 19.52 kB / 0.6299 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.4986, allocations: 2.776 MB / 0.6326 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4986, allocations: 0 / 0.6326 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.5005, allocations: 1.999 MB / 0.6346 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.5016, allocations: 0.5333 MB / 0.6351 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004068/0.502, allocations: 16.83 kB / 0.6351 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.5029, allocations: 27.75 kB / 0.6352 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5031, allocations: 31.59 kB / 0.6352 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.5031, allocations: 19.11 kB / 0.6352 GB, free: 27.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004103/0.5072, allocations: 3.239 MB / 0.6384 GB, free: 25.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5072, allocations: 3.938 kB / 0.6384 GB, free: 25.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001905/0.5091, allocations: 0.5208 MB / 0.6389 GB, free: 25.86 MB / 446.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.00213/0.5112, allocations: 2.666 MB / 0.6415 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.5126, allocations: 1.016 MB / 0.6425 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5126, allocations: 6.625 kB / 0.6425 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.5131, allocations: 0.4958 MB / 0.643 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/0.517, allocations: 0.817 MB / 0.6438 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03937/0.5564, allocations: 30.23 MB / 0.6733 GB, free: 6.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/0.5586, allocations: 2.001 MB / 0.6752 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001431/0.5601, allocations: 397.7 kB / 0.6756 GB, free: 4.555 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/0.562, allocations: 1.382 MB / 0.677 GB, free: 3.172 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.562, allocations: 0 / 0.677 GB, free: 3.172 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/0.6975, allocations: 69.1 MB / 0.7444 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.98/20.68, allocations: 14.56 kB / 0.7445 GB, free: 14.73 MB / 0.5294 GB " [Timeout remaining time 639] (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 os._exit(0), Time elapsed: 23.936727635969874] Failed to read output from testmodel.py, exit status != 0: 20.875239979010075 20.891061438 20.691896496 Calling exit ...