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.00137/0.00137, allocations: 104.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.001621/0.001621, allocations: 210.4 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.1616/0.1616, allocations: 23.84 MB / 332.7 MB, free: 12.35 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.002347/0.002347, allocations: 60.19 kB / 466 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4308, allocations: 59.82 MB / 0.5135 GB, free: 8.902 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.05001/0.4808, allocations: 34.72 MB / 0.5474 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.4982, allocations: 6.209 MB / 0.5534 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00454/0.5027, allocations: 43.75 kB / 0.5535 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005591/0.5083, allocations: 1.362 MB / 0.5548 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.513, allocations: 0.962 MB / 0.5557 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.5149, allocations: 429 kB / 0.5562 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005866/0.5208, allocations: 2.608 MB / 0.5587 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.523, allocations: 1.132 MB / 0.5598 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.525, allocations: 1.093 MB / 0.5609 GB, free: 9.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.5274, allocations: 1.295 MB / 0.5621 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008591/0.5282, allocations: 287.9 kB / 0.5624 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.5321, allocations: 1.345 MB / 0.5637 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.5333, allocations: 0.8201 MB / 0.5645 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003199/0.5365, allocations: 1.772 MB / 0.5663 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007803/0.5443, allocations: 5.186 MB / 0.5713 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5443, allocations: 0 / 0.5713 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5443, allocations: 0 / 0.5713 GB, free: 15.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.514e-05/0.5444, allocations: 0 / 0.5713 GB, free: 15.93 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.005631/0.55, allocations: 3.874 MB / 0.5751 GB, free: 11.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5501, allocations: 8.031 kB / 0.5751 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005741/0.5507, allocations: 477.7 kB / 0.5756 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.5515, allocations: 498.1 kB / 0.576 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.5537, allocations: 1.494 MB / 0.5775 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.5539, allocations: 242.5 kB / 0.5777 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/0.5543, allocations: 319.9 kB / 0.578 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006517/0.5608, allocations: 4.677 MB / 0.5826 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/0.5609, allocations: 19.81 kB / 0.5826 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.5611, allocations: 140 kB / 0.5828 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003847/0.5615, allocations: 345.8 kB / 0.5831 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005275/0.5668, allocations: 3.485 MB / 0.5865 GB, free: 15.83 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.02257/0.5893, allocations: 21.37 MB / 0.6074 GB, free: 9.738 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.5906, allocations: 0.6973 MB / 0.608 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006971/0.5913, allocations: 456.5 kB / 0.6085 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004655/0.5918, allocations: 158.7 kB / 0.6086 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5918, allocations: 46.5 kB / 0.6087 GB, free: 8.246 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.384e-06/0.5918, allocations: 0 / 0.6087 GB, free: 8.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003468/0.5953, allocations: 1.846 MB / 0.6105 GB, free: 6.348 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.5955, allocations: 294.7 kB / 0.6108 GB, free: 5.992 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006102/0.6016, allocations: 4.309 MB / 0.615 GB, free: 1.668 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.6016, allocations: 29.7 kB / 0.615 GB, free: 1.633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00182/0.6035, allocations: 1.753 MB / 0.6167 GB, free: 15.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.6036, allocations: 123 kB / 0.6168 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.6039, allocations: 154.5 kB / 0.617 GB, free: 15.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.604, allocations: 334 kB / 0.6173 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.6048, allocations: 453.8 kB / 0.6177 GB, free: 14.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.6059, allocations: 0.8292 MB / 0.6185 GB, free: 13.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.6078, allocations: 1.345 MB / 0.6198 GB, free: 12.26 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.6078, allocations: 7.75 kB / 0.6198 GB, free: 12.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002919/0.6107, allocations: 1.644 MB / 0.6215 GB, free: 10.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.6107, allocations: 14.81 kB / 0.6215 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.6107, allocations: 12 kB / 0.6215 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.611, allocations: 62.5 kB / 0.6215 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.6116, allocations: 195.7 kB / 0.6217 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.6142, allocations: 2.8 MB / 0.6245 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6156, allocations: 356.6 kB / 0.6248 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6157, allocations: 72.08 kB / 0.6249 GB, free: 6.809 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.001345/0.617, allocations: 0.7656 MB / 0.6256 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/0.6176, allocations: 357.6 kB / 0.626 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.6196, allocations: 1.048 MB / 0.627 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6196, allocations: 4 kB / 0.627 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.6197, allocations: 4.125 kB / 0.627 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.6197, allocations: 4.281 kB / 0.627 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.6237, allocations: 2.221 MB / 0.6292 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.6237, allocations: 3.938 kB / 0.6292 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.6243, allocations: 71.89 kB / 0.6292 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.6245, allocations: 53.67 kB / 0.6293 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.6246, allocations: 12 kB / 0.6293 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.6277, allocations: 2.777 MB / 0.632 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6277, allocations: 0 / 0.632 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.6313, allocations: 1.993 MB / 0.634 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/0.6329, allocations: 0.5376 MB / 0.6345 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004996/0.6334, allocations: 15.95 kB / 0.6345 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.6351, allocations: 23.92 kB / 0.6345 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.6353, allocations: 39.83 kB / 0.6346 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.6353, allocations: 16 kB / 0.6346 GB, free: 12.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007497/0.6428, allocations: 3.245 MB / 0.6377 GB, free: 9.195 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6428, allocations: 0 / 0.6377 GB, free: 9.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003362/0.6462, allocations: 0.5188 MB / 0.6382 GB, free: 8.676 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.004389/0.6505, allocations: 2.67 MB / 0.6409 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.6532, allocations: 1.013 MB / 0.6418 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6532, allocations: 0 / 0.6418 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.6544, allocations: 0.4974 MB / 0.6423 GB, free: 4.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006705/0.6611, allocations: 0.8148 MB / 0.6431 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06202/0.7231, allocations: 30.24 MB / 0.6727 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.7252, allocations: 1.995 MB / 0.6746 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001415/0.7266, allocations: 397.3 kB / 0.675 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/0.7284, allocations: 1.382 MB / 0.6763 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of SimCode: time 1.784e-06/0.7284, allocations: 0 / 0.6763 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4492/1.178, allocations: 69.06 MB / 0.7438 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.73/21.91, allocations: 3.828 kB / 0.7438 GB, free: 177.4 MB / 0.5606 GB " [Timeout remaining time 638] (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: 25.121064115781337] Failed to read output from testmodel.py, exit status != 0: 22.043496202211827 22.067256233 21.51854158 Calling exit ...