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.0009429/0.0009429, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001004/0.001004, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9336/0.9336, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.08944/0.08944, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.516e-05, allocations: 2.281 kB / 411.4 MB, free: 424 kB / 378.7 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.3674/0.3674, allocations: 33.01 MB / 444.4 MB, free: 43.67 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006756/0.3742, allocations: 5.595 MB / 450 MB, free: 43.46 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000782/0.375, allocations: 47.41 kB / 450.1 MB, free: 43.44 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.3768, allocations: 1.265 MB / 451.4 MB, free: 43.05 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.3778, allocations: 1.017 MB / 452.4 MB, free: 42.59 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.3784, allocations: 434.3 kB / 452.8 MB, free: 42.39 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.3799, allocations: 2.741 MB / 455.5 MB, free: 40.98 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/0.3807, allocations: 0.997 MB / 456.5 MB, free: 40.53 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.3815, allocations: 1.684 MB / 458.2 MB, free: 39.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.3821, allocations: 0.8471 MB / 459.1 MB, free: 39.56 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.3823, allocations: 284.2 kB / 459.3 MB, free: 39.56 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009313/0.3832, allocations: 0.7543 MB / 460.1 MB, free: 39.45 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.3835, allocations: 0.8284 MB / 460.9 MB, free: 38.97 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005437/0.384, allocations: 1.041 MB / 462 MB, free: 38.52 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.3867, allocations: 4.936 MB / 466.9 MB, free: 36.5 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3867, allocations: 0 / 466.9 MB, free: 36.5 MB / 410.8 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3867, allocations: 3.094 kB / 466.9 MB, free: 36.5 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.565e-05/0.3867, allocations: 2.688 kB / 466.9 MB, free: 36.5 MB / 410.8 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.002569/0.3893, allocations: 3.757 MB / 470.7 MB, free: 34.16 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3893, allocations: 12.91 kB / 470.7 MB, free: 34.16 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000283/0.3896, allocations: 473.6 kB / 471.1 MB, free: 33.89 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000416/0.39, allocations: 497.4 kB / 471.6 MB, free: 33.64 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3912, allocations: 1.429 MB / 473.1 MB, free: 32.71 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.3913, allocations: 239.4 kB / 473.3 MB, free: 32.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.3916, allocations: 318 kB / 473.6 MB, free: 32.51 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.3949, allocations: 4.715 MB / 478.3 MB, free: 29.82 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.3949, allocations: 18.44 kB / 478.3 MB, free: 29.81 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.3951, allocations: 145.3 kB / 478.5 MB, free: 29.71 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.3953, allocations: 351 kB / 478.8 MB, free: 29.64 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.3982, allocations: 3.568 MB / 482.4 MB, free: 28.21 MB / 410.8 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.01128/0.4095, allocations: 19.91 MB / 0.4905 GB, free: 12.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.4103, allocations: 0.7045 MB / 0.4912 GB, free: 11.97 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.4107, allocations: 470.3 kB / 0.4917 GB, free: 11.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.411, allocations: 88.88 kB / 0.4917 GB, free: 11.71 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.411, allocations: 50.94 kB / 0.4918 GB, free: 11.66 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 4.058e-06/0.411, allocations: 0 / 0.4918 GB, free: 11.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.002278/0.4133, allocations: 1.719 MB / 0.4935 GB, free: 10.93 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.4134, allocations: 293.8 kB / 0.4938 GB, free: 10.59 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005078/0.4184, allocations: 4.324 MB / 0.498 GB, free: 8.957 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.4185, allocations: 31.2 kB / 0.498 GB, free: 8.922 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.4195, allocations: 1.753 MB / 0.4997 GB, free: 7.516 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.4196, allocations: 123.4 kB / 0.4998 GB, free: 7.422 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.4198, allocations: 151.7 kB / 0.5 GB, free: 7.348 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.4198, allocations: 333 kB / 0.5003 GB, free: 7.031 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.4204, allocations: 463.4 kB / 0.5007 GB, free: 6.867 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.421, allocations: 0.8479 MB / 0.5016 GB, free: 6.176 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.4222, allocations: 1.356 MB / 0.5029 GB, free: 5.262 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4222, allocations: 4.875 kB / 0.5029 GB, free: 5.262 MB / 410.8 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001928/0.4242, allocations: 1.672 MB / 0.5045 GB, free: 4.527 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4242, allocations: 11 kB / 0.5045 GB, free: 4.527 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.4242, allocations: 20.38 kB / 0.5046 GB, free: 4.523 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.4244, allocations: 63.86 kB / 0.5046 GB, free: 4.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.4247, allocations: 188.2 kB / 0.5048 GB, free: 4.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009404/0.4256, allocations: 2.585 MB / 0.5073 GB, free: 1.906 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009838/0.4266, allocations: 365 kB / 0.5077 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.4267, allocations: 60.45 kB / 0.5077 GB, free: 1.637 MB / 410.8 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.0007121/0.4274, allocations: 0.7678 MB / 0.5085 GB, free: 1.168 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.4276, allocations: 365 kB / 0.5088 GB, free: 0.9648 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.4288, allocations: 1.059 MB / 0.5099 GB, free: 0.5625 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4288, allocations: 7.469 kB / 0.5099 GB, free: 0.5586 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4288, allocations: 4.25 kB / 0.5099 GB, free: 0.5586 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.4288, allocations: 5.016 kB / 0.5099 GB, free: 0.5586 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.431, allocations: 1.806 MB / 0.5116 GB, free: 15.78 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.431, allocations: 3.281 kB / 0.5116 GB, free: 15.78 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.4311, allocations: 75.56 kB / 0.5117 GB, free: 15.78 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.4312, allocations: 51.38 kB / 0.5118 GB, free: 15.75 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.4313, allocations: 15.58 kB / 0.5118 GB, free: 15.75 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.4325, allocations: 2.548 MB / 0.5143 GB, free: 13.19 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4325, allocations: 10.38 kB / 0.5143 GB, free: 13.18 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.434, allocations: 2.033 MB / 0.5163 GB, free: 11.86 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.4345, allocations: 470.2 kB / 0.5167 GB, free: 11.54 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.4347, allocations: 9.797 kB / 0.5167 GB, free: 11.54 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/0.4352, allocations: 20.14 kB / 0.5167 GB, free: 11.54 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.4353, allocations: 42.14 kB / 0.5168 GB, free: 11.52 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.4353, allocations: 12.94 kB / 0.5168 GB, free: 11.52 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00324/0.4385, allocations: 3.244 MB / 0.52 GB, free: 10.23 MB / 426.8 MB Notification: Performance of sort global known variables: time 3e-08/0.4385, allocations: 6.594 kB / 0.52 GB, free: 10.22 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.001168/0.4397, allocations: 0.521 MB / 0.5205 GB, free: 10.15 MB / 426.8 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.001771/0.4415, allocations: 2.696 MB / 0.5231 GB, free: 8.266 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.4425, allocations: 1.045 MB / 0.5241 GB, free: 7.77 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4425, allocations: 2.625 kB / 0.5241 GB, free: 7.77 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.4428, allocations: 0.5003 MB / 0.5246 GB, free: 7.457 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.4452, allocations: 0.8195 MB / 0.5254 GB, free: 7.227 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03571/0.4809, allocations: 30.46 MB / 0.5552 GB, free: 14.7 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.4823, allocations: 1.447 MB / 0.5566 GB, free: 13.25 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.001104/0.4834, allocations: 390.4 kB / 0.557 GB, free: 12.89 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.4845, allocations: 1.383 MB / 0.5583 GB, free: 11.51 MB / 458.8 MB Notification: Performance of SimCode: time 1.804e-06/0.4845, allocations: 0 / 0.5583 GB, free: 11.51 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.5893, allocations: 73.23 MB / 0.6298 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.3, allocations: 3.984 kB / 0.6298 GB, free: 3.016 MB / 0.5105 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.58264269400388] Failed to read output from testmodel.py, exit status != 0: 12.422500751912594 12.612719296 12.224426376 Calling exit ...