Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001784/0.001784, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.002046/0.002046, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.156/0.156, allocations: 23.86 MB / 333.4 MB, free: 1.219 MB / 254.1 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.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_Chemical_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_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.002002/0.002002, allocations: 66.86 kB / 466.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1339, allocations: 59.84 MB / 0.5142 GB, free: 12.97 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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.05393/0.1878, allocations: 34.52 MB / 0.5479 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.2008, allocations: 6.205 MB / 0.5539 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.2035, allocations: 43.75 kB / 0.554 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.2076, allocations: 1.355 MB / 0.5553 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.2109, allocations: 0.9688 MB / 0.5563 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.2123, allocations: 434.7 kB / 0.5567 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004888/0.2172, allocations: 2.596 MB / 0.5592 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.2189, allocations: 1.136 MB / 0.5603 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.2206, allocations: 1.094 MB / 0.5614 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.2221, allocations: 1.299 MB / 0.5627 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.2225, allocations: 280 kB / 0.5629 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.2256, allocations: 1.35 MB / 0.5642 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008142/0.2264, allocations: 0.8212 MB / 0.565 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.2285, allocations: 1.779 MB / 0.5668 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008285/0.2368, allocations: 5.183 MB / 0.5718 GB, free: 1.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2368, allocations: 0 / 0.5718 GB, free: 1.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2368, allocations: 0 / 0.5718 GB, free: 1.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.513e-05/0.2369, allocations: 0 / 0.5718 GB, free: 1.75 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.006775/0.2436, allocations: 3.878 MB / 0.5756 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.2437, allocations: 8.031 kB / 0.5756 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.579e-05/0.2438, allocations: 90.62 kB / 0.5757 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006257/0.2444, allocations: 477.7 kB / 0.5762 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.2454, allocations: 490.1 kB / 0.5766 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.2478, allocations: 1.502 MB / 0.5781 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.248, allocations: 242.4 kB / 0.5783 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004065/0.2485, allocations: 323.9 kB / 0.5786 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007789/0.2562, allocations: 4.665 MB / 0.5832 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.089e-05/0.2563, allocations: 19.81 kB / 0.5832 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.2566, allocations: 140 kB / 0.5834 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004264/0.257, allocations: 345.8 kB / 0.5837 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006208/0.2632, allocations: 3.485 MB / 0.5871 GB, free: 1.562 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.3233/0.5865, allocations: 21.35 MB / 0.6079 GB, free: 47.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.5879, allocations: 0.7027 MB / 0.6086 GB, free: 46.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/0.5886, allocations: 460.7 kB / 0.6091 GB, free: 46.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00047/0.5891, allocations: 159.5 kB / 0.6092 GB, free: 46.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5891, allocations: 47.58 kB / 0.6093 GB, free: 46.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/0.5891, allocations: 0 / 0.6093 GB, free: 46.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.003949/0.5931, allocations: 1.843 MB / 0.6111 GB, free: 45.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.5932, allocations: 299.9 kB / 0.6113 GB, free: 45.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00678/0.5999, allocations: 4.308 MB / 0.6156 GB, free: 43.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.6001, allocations: 36.39 kB / 0.6156 GB, free: 43.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.6015, allocations: 1.747 MB / 0.6173 GB, free: 41.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.6016, allocations: 117.7 kB / 0.6174 GB, free: 41.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.6019, allocations: 154.4 kB / 0.6176 GB, free: 41.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.602, allocations: 339.1 kB / 0.6179 GB, free: 41.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.6027, allocations: 445.3 kB / 0.6183 GB, free: 41.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/0.6036, allocations: 0.8429 MB / 0.6191 GB, free: 40.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.6052, allocations: 1.327 MB / 0.6204 GB, free: 39.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.6052, allocations: 9.312 kB / 0.6204 GB, free: 39.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003317/0.6085, allocations: 1.659 MB / 0.6221 GB, free: 38.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6085, allocations: 10.44 kB / 0.6221 GB, free: 38.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.6085, allocations: 13.56 kB / 0.6221 GB, free: 38.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.6088, allocations: 60.06 kB / 0.6221 GB, free: 38.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.6094, allocations: 193.9 kB / 0.6223 GB, free: 38.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.6107, allocations: 2.791 MB / 0.625 GB, free: 35.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.6127, allocations: 363.3 kB / 0.6254 GB, free: 35.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/0.6128, allocations: 63.33 kB / 0.6255 GB, free: 35.34 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.001185/0.6139, allocations: 0.7602 MB / 0.6262 GB, free: 34.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005822/0.6145, allocations: 367 kB / 0.6265 GB, free: 34.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.6164, allocations: 1.038 MB / 0.6276 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.6164, allocations: 11.84 kB / 0.6276 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6164, allocations: 2.656 kB / 0.6276 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6164, allocations: 8.391 kB / 0.6276 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.6202, allocations: 2.216 MB / 0.6297 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.6202, allocations: 1.781 kB / 0.6297 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.6206, allocations: 72.61 kB / 0.6298 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.6208, allocations: 48.03 kB / 0.6299 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.6208, allocations: 19.86 kB / 0.6299 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.6223, allocations: 2.777 MB / 0.6326 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6223, allocations: 3.938 kB / 0.6326 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.6246, allocations: 1.989 MB / 0.6345 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.6258, allocations: 0.5437 MB / 0.6351 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/0.6262, allocations: 20.92 kB / 0.6351 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.6272, allocations: 19.86 kB / 0.6351 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.6274, allocations: 34.25 kB / 0.6351 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.6274, allocations: 15.64 kB / 0.6352 GB, free: 27.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004871/0.6323, allocations: 3.241 MB / 0.6383 GB, free: 25.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6323, allocations: 3.562 kB / 0.6383 GB, free: 25.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002406/0.6347, allocations: 0.5237 MB / 0.6388 GB, free: 25.82 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.002406/0.6371, allocations: 2.671 MB / 0.6414 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.6386, allocations: 1.025 MB / 0.6424 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6386, allocations: 0 / 0.6424 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006001/0.6392, allocations: 497.9 kB / 0.6429 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/0.6434, allocations: 0.8226 MB / 0.6437 GB, free: 21.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04178/0.6852, allocations: 30.23 MB / 0.6732 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/0.6872, allocations: 2.001 MB / 0.6752 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001545/0.6888, allocations: 396.2 kB / 0.6756 GB, free: 4.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/0.6907, allocations: 1.382 MB / 0.6769 GB, free: 3.129 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6907, allocations: 0 / 0.6769 GB, free: 3.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/0.8329, allocations: 69.09 MB / 0.7444 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.42/21.25, allocations: 14.45 kB / 0.7444 GB, free: 14.69 MB / 0.5294 GB " [Timeout remaining time 639] (rm -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_Chemical.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Boundaries_Tests_TestBoundaries.fmu > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.68747714703204] Failed to read output from testmodel.py, exit status != 0: 21.448459815001115 21.476980849 21.234895941 Calling exit ...