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.001313/0.001313, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001769/0.001769, allocations: 222.7 kB / 22.25 MB, free: 5.258 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 7.82 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.1581/0.1581, allocations: 23.88 MB / 336.3 MB, free: 10.99 MB / 270.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="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: 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.002052/0.002052, allocations: 63.91 kB / 471.1 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.425, allocations: 59.86 MB / 0.5185 GB, free: 9.566 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.0871/0.5121, allocations: 32.62 MB / 0.5504 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.5262, allocations: 5.605 MB / 0.5559 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004706/0.5309, allocations: 43.75 kB / 0.5559 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005408/0.5363, allocations: 1.247 MB / 0.5571 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.5417, allocations: 0.9804 MB / 0.5581 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.5439, allocations: 422.8 kB / 0.5585 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0062/0.5501, allocations: 2.609 MB / 0.561 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.5519, allocations: 1.003 MB / 0.562 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.5538, allocations: 1.096 MB / 0.5631 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.5557, allocations: 1.306 MB / 0.5644 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.5561, allocations: 284 kB / 0.5646 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.5584, allocations: 0.7632 MB / 0.5654 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009218/0.5593, allocations: 0.812 MB / 0.5662 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.561, allocations: 1.33 MB / 0.5675 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008493/0.5695, allocations: 5.031 MB / 0.5724 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5695, allocations: 0 / 0.5724 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5695, allocations: 0 / 0.5724 GB, free: 2.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001509/0.5696, allocations: 8 kB / 0.5724 GB, free: 2.68 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: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.00741/0.577, allocations: 3.799 MB / 0.5761 GB, free: 14.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.5771, allocations: 8.031 kB / 0.5761 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000647/0.5777, allocations: 481.7 kB / 0.5766 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009037/0.5786, allocations: 490.1 kB / 0.577 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.5813, allocations: 1.432 MB / 0.5784 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.5816, allocations: 242.5 kB / 0.5787 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004075/0.582, allocations: 315.9 kB / 0.579 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007115/0.5891, allocations: 4.72 MB / 0.5836 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.302e-05/0.5892, allocations: 23.75 kB / 0.5836 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.5894, allocations: 140 kB / 0.5837 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004075/0.5898, allocations: 345.8 kB / 0.5841 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005875/0.5957, allocations: 3.571 MB / 0.5875 GB, free: 2.625 MB / 430.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.02556/0.6213, allocations: 19.96 MB / 0.607 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6226, allocations: 0.7169 MB / 0.6077 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.6234, allocations: 468.4 kB / 0.6082 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.6239, allocations: 77.58 kB / 0.6083 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.6239, allocations: 46.48 kB / 0.6083 GB, free: 12.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/0.6239, allocations: 4 kB / 0.6083 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003572/0.6275, allocations: 1.728 MB / 0.61 GB, free: 10.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/0.6277, allocations: 294.7 kB / 0.6103 GB, free: 10.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006837/0.6345, allocations: 4.321 MB / 0.6145 GB, free: 6.152 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.6346, allocations: 33.7 kB / 0.6145 GB, free: 6.113 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/0.6366, allocations: 1.752 MB / 0.6162 GB, free: 4.348 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.6368, allocations: 111.1 kB / 0.6163 GB, free: 4.238 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.6371, allocations: 162.5 kB / 0.6165 GB, free: 4.074 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6373, allocations: 326 kB / 0.6168 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007822/0.6381, allocations: 481.8 kB / 0.6173 GB, free: 3.277 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.6393, allocations: 0.8408 MB / 0.6181 GB, free: 2.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.6412, allocations: 1.359 MB / 0.6194 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.6413, allocations: 11.88 kB / 0.6194 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003545/0.6448, allocations: 1.669 MB / 0.6211 GB, free: 15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.6448, allocations: 8 kB / 0.6211 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.6449, allocations: 16 kB / 0.6211 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.6451, allocations: 61.69 kB / 0.6211 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.6458, allocations: 187.7 kB / 0.6213 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.6482, allocations: 2.593 MB / 0.6239 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.6501, allocations: 368.8 kB / 0.6242 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.6503, allocations: 63.98 kB / 0.6243 GB, free: 11.48 MB / 478.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.001721/0.652, allocations: 0.7552 MB / 0.625 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007829/0.6528, allocations: 357.6 kB / 0.6253 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.6554, allocations: 1.072 MB / 0.6264 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.6554, allocations: 12.05 kB / 0.6264 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6554, allocations: 4 kB / 0.6264 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6554, allocations: 4 kB / 0.6264 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/0.6594, allocations: 1.807 MB / 0.6282 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.6594, allocations: 4 kB / 0.6282 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.6598, allocations: 79.83 kB / 0.6283 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.66, allocations: 41.69 kB / 0.6283 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.66, allocations: 12 kB / 0.6283 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.6627, allocations: 2.554 MB / 0.6308 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.6627, allocations: 8.25 kB / 0.6308 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.6653, allocations: 2.048 MB / 0.6328 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/0.6667, allocations: 473.4 kB / 0.6333 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007155/0.6675, allocations: 8 kB / 0.6333 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.6688, allocations: 23.98 kB / 0.6333 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.6689, allocations: 43.81 kB / 0.6333 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.669, allocations: 12 kB / 0.6333 GB, free: 1.828 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006649/0.6756, allocations: 3.241 MB / 0.6365 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6756, allocations: 0 / 0.6365 GB, free: 14.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002685/0.6783, allocations: 0.5227 MB / 0.637 GB, free: 14.06 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.003641/0.6819, allocations: 2.705 MB / 0.6397 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.6841, allocations: 1.031 MB / 0.6407 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6841, allocations: 4 kB / 0.6407 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008425/0.685, allocations: 0.5014 MB / 0.6412 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00536/0.6903, allocations: 0.8282 MB / 0.642 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06522/0.7555, allocations: 30.3 MB / 0.6716 GB, free: 9.934 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003904/0.7594, allocations: 1.44 MB / 0.673 GB, free: 8.461 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002344/0.7618, allocations: 405.3 kB / 0.6734 GB, free: 8.059 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002922/0.7647, allocations: 1.382 MB / 0.6747 GB, free: 6.676 MB / 0.5138 GB Notification: Performance of SimCode: time 3.256e-06/0.7647, allocations: 0 / 0.6747 GB, free: 6.676 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4635/1.228, allocations: 73.64 MB / 0.7466 GB, free: 178 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/18.89, allocations: 0.9688 kB / 0.7466 GB, free: 178 MB / 0.5606 GB " [Timeout remaining time 641] (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: 22.309654484997736] Failed to read output from testmodel.py, exit status != 0: 19.057662442006404 19.082381569 18.5085947 Calling exit ...