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.001282/0.001282, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001495/0.001495, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1569/0.1569, allocations: 23.86 MB / 337.1 MB, free: 11.2 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="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.002213/0.002213, allocations: 59.91 kB / 471.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3879, allocations: 59.86 MB / 0.5193 GB, free: 9.621 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.04938/0.4373, allocations: 34.55 MB / 0.5531 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.4511, allocations: 6.216 MB / 0.5591 GB, free: 64 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006154/0.4572, allocations: 43.75 kB / 0.5592 GB, free: 20 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005854/0.4631, allocations: 1.359 MB / 0.5605 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005956/0.469, allocations: 0.9604 MB / 0.5615 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.4715, allocations: 450.7 kB / 0.5619 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00862/0.4801, allocations: 2.61 MB / 0.5644 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/0.4844, allocations: 1.003 MB / 0.5654 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.4879, allocations: 1.092 MB / 0.5665 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00417/0.4921, allocations: 1.294 MB / 0.5677 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.4935, allocations: 287.9 kB / 0.568 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006413/0.4999, allocations: 1.346 MB / 0.5693 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.502, allocations: 0.8135 MB / 0.5701 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003536/0.5055, allocations: 1.779 MB / 0.5719 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.5179, allocations: 5.179 MB / 0.5769 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5179, allocations: 0 / 0.5769 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5179, allocations: 0 / 0.5769 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002455/0.5181, allocations: 4 kB / 0.5769 GB, free: 15.07 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.01243/0.5305, allocations: 3.803 MB / 0.5806 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.72e-05/0.5306, allocations: 8.031 kB / 0.5806 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001878/0.5308, allocations: 90.62 kB / 0.5807 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001869/0.5327, allocations: 473.6 kB / 0.5812 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5349, allocations: 498.1 kB / 0.5817 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.5394, allocations: 1.421 MB / 0.583 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.5397, allocations: 246.4 kB / 0.5833 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007889/0.5405, allocations: 323.9 kB / 0.5836 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.5509, allocations: 4.712 MB / 0.5882 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.551, allocations: 23.75 kB / 0.5882 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000594/0.5516, allocations: 144 kB / 0.5884 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004678/0.5521, allocations: 345.8 kB / 0.5887 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007482/0.5596, allocations: 3.579 MB / 0.5922 GB, free: 14.91 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.03338/0.593, allocations: 21.23 MB / 0.6129 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.5946, allocations: 0.713 MB / 0.6136 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/0.5955, allocations: 468.4 kB / 0.6141 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.5959, allocations: 85.55 kB / 0.6141 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/0.596, allocations: 58.44 kB / 0.6142 GB, free: 7.504 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 4.278e-06/0.596, allocations: 0 / 0.6142 GB, free: 7.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003896/0.5999, allocations: 1.724 MB / 0.6159 GB, free: 5.766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/0.6, allocations: 290.7 kB / 0.6162 GB, free: 5.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008962/0.609, allocations: 4.31 MB / 0.6204 GB, free: 1.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.6091, allocations: 33.7 kB / 0.6204 GB, free: 1.051 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/0.6114, allocations: 1.752 MB / 0.6221 GB, free: 15.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.6117, allocations: 119 kB / 0.6222 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/0.6121, allocations: 154.6 kB / 0.6224 GB, free: 15.01 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.6123, allocations: 334 kB / 0.6227 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.6133, allocations: 457.8 kB / 0.6231 GB, free: 14.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.6147, allocations: 0.8485 MB / 0.624 GB, free: 13.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.6167, allocations: 1.368 MB / 0.6253 GB, free: 11.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.6167, allocations: 4 kB / 0.6253 GB, free: 11.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003623/0.6204, allocations: 1.669 MB / 0.6269 GB, free: 9.949 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.6204, allocations: 10.66 kB / 0.6269 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.6204, allocations: 16 kB / 0.6269 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.6207, allocations: 61.75 kB / 0.627 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.6214, allocations: 191.7 kB / 0.6272 GB, free: 9.672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.6239, allocations: 2.597 MB / 0.6297 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.626, allocations: 360.8 kB / 0.6301 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6261, allocations: 64.17 kB / 0.6301 GB, free: 6.426 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.001738/0.6278, allocations: 0.7596 MB / 0.6309 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008897/0.6287, allocations: 361.6 kB / 0.6312 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.6315, allocations: 1.072 MB / 0.6323 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6315, allocations: 8 kB / 0.6323 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6315, allocations: 4 kB / 0.6323 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.6315, allocations: 0 / 0.6323 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/0.6363, allocations: 2.204 MB / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.6364, allocations: 7.938 kB / 0.6344 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.6367, allocations: 76.11 kB / 0.6345 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.6369, allocations: 49.62 kB / 0.6346 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.637, allocations: 15.98 kB / 0.6346 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.6395, allocations: 2.57 MB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6395, allocations: 0 / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.6424, allocations: 2.044 MB / 0.6391 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.6438, allocations: 473.3 kB / 0.6395 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007017/0.6445, allocations: 11.95 kB / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.6458, allocations: 31.91 kB / 0.6396 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.6459, allocations: 39.83 kB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.646, allocations: 8 kB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006751/0.6527, allocations: 3.245 MB / 0.6428 GB, free: 9.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6527, allocations: 4 kB / 0.6428 GB, free: 9.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00259/0.6553, allocations: 0.5188 MB / 0.6433 GB, free: 8.586 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.00382/0.6591, allocations: 2.705 MB / 0.6459 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.6611, allocations: 1.035 MB / 0.6469 GB, free: 4.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6611, allocations: 0 / 0.6469 GB, free: 4.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.662, allocations: 0.5049 MB / 0.6474 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/0.6676, allocations: 0.8095 MB / 0.6482 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06406/0.7316, allocations: 30.35 MB / 0.6779 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.7344, allocations: 1.995 MB / 0.6798 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001895/0.7363, allocations: 401.3 kB / 0.6802 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002465/0.7388, allocations: 1.382 MB / 0.6815 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of SimCode: time 2.204e-06/0.7388, allocations: 0 / 0.6815 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4262/1.165, allocations: 69.56 MB / 0.7495 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.81/22.98, allocations: 8.562 kB / 0.7495 GB, free: 169.1 MB / 0.5606 GB " [Timeout remaining time 637] (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: 26.373348911991343] Failed to read output from testmodel.py, exit status != 0: 23.202514387085102 23.225681988 22.703039313 Calling exit ...