Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001473/0.001473, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001433/0.001433, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1343/0.1343, allocations: 23.92 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_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.002016/0.002016, allocations: 63.91 kB / 471.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3249, allocations: 59.87 MB / 0.5193 GB, free: 9.508 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1562:5-1562: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 master/Interfaces.mo:1562:5-1562: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.07683/0.4018, allocations: 32.35 MB / 0.5509 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.4127, allocations: 5.593 MB / 0.5564 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.4154, allocations: 43.75 kB / 0.5564 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.4201, allocations: 1.277 MB / 0.5577 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.4242, allocations: 0.9689 MB / 0.5586 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.4261, allocations: 430.1 kB / 0.559 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005379/0.4315, allocations: 2.615 MB / 0.5616 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.4334, allocations: 1.007 MB / 0.5626 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.4353, allocations: 1.1 MB / 0.5636 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.4376, allocations: 1.299 MB / 0.5649 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006574/0.4382, allocations: 280 kB / 0.5652 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.4406, allocations: 0.7627 MB / 0.5659 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009953/0.4416, allocations: 0.8122 MB / 0.5667 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003051/0.4446, allocations: 1.331 MB / 0.568 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.4554, allocations: 5.027 MB / 0.5729 GB, free: 2.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4554, allocations: 4 kB / 0.5729 GB, free: 2.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4554, allocations: 0 / 0.5729 GB, free: 2.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002248/0.4556, allocations: 0 / 0.5729 GB, free: 2.887 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.008321/0.4639, allocations: 3.802 MB / 0.5766 GB, free: 15.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.464, allocations: 8.031 kB / 0.5767 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001721/0.4641, allocations: 90.61 kB / 0.5767 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.4652, allocations: 473.7 kB / 0.5772 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.4666, allocations: 498.1 kB / 0.5777 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.4706, allocations: 1.437 MB / 0.5791 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.4708, allocations: 238.4 kB / 0.5793 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007217/0.4716, allocations: 316 kB / 0.5796 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.4827, allocations: 4.724 MB / 0.5842 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.4828, allocations: 19.81 kB / 0.5842 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000443/0.4832, allocations: 136 kB / 0.5844 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006471/0.4839, allocations: 345.8 kB / 0.5847 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007883/0.4918, allocations: 3.571 MB / 0.5882 GB, free: 2.742 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.02359/0.5154, allocations: 19.97 MB / 0.6077 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.5167, allocations: 0.713 MB / 0.6084 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/0.5174, allocations: 468.4 kB / 0.6088 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.5178, allocations: 85.56 kB / 0.6089 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.5179, allocations: 50.44 kB / 0.609 GB, free: 12.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/0.5179, allocations: 0 / 0.609 GB, free: 12.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003326/0.5212, allocations: 1.723 MB / 0.6106 GB, free: 10.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.5214, allocations: 298.7 kB / 0.6109 GB, free: 10.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006624/0.528, allocations: 4.309 MB / 0.6151 GB, free: 6.273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.5281, allocations: 29.7 kB / 0.6152 GB, free: 6.238 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001831/0.5299, allocations: 1.752 MB / 0.6169 GB, free: 4.473 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.5301, allocations: 115.2 kB / 0.617 GB, free: 4.359 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.5304, allocations: 158.6 kB / 0.6171 GB, free: 4.199 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5306, allocations: 334 kB / 0.6174 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/0.5314, allocations: 469.6 kB / 0.6179 GB, free: 3.406 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5325, allocations: 0.833 MB / 0.6187 GB, free: 2.387 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.5344, allocations: 1.36 MB / 0.62 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.5344, allocations: 4 kB / 0.62 GB, free: 0.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003185/0.5376, allocations: 1.68 MB / 0.6217 GB, free: 15.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5376, allocations: 12 kB / 0.6217 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.5376, allocations: 12 kB / 0.6217 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.5379, allocations: 62.19 kB / 0.6218 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.5385, allocations: 195.8 kB / 0.6219 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.5408, allocations: 2.585 MB / 0.6245 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.5424, allocations: 364.7 kB / 0.6248 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.5425, allocations: 59.98 kB / 0.6249 GB, free: 11.62 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.001364/0.5439, allocations: 0.7711 MB / 0.6256 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006873/0.5446, allocations: 353.6 kB / 0.626 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5468, allocations: 1.072 MB / 0.627 GB, free: 9.402 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.5468, allocations: 4 kB / 0.627 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.5468, allocations: 4 kB / 0.627 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.5468, allocations: 7.984 kB / 0.627 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.5502, allocations: 1.799 MB / 0.6288 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5502, allocations: 0 / 0.6288 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.5506, allocations: 71.91 kB / 0.6289 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.5507, allocations: 49.67 kB / 0.6289 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.5508, allocations: 19.94 kB / 0.6289 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.553, allocations: 2.566 MB / 0.6314 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.553, allocations: 4.031 kB / 0.6314 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.5556, allocations: 2.04 MB / 0.6334 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.5567, allocations: 477.3 kB / 0.6339 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/0.5571, allocations: 15.92 kB / 0.6339 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.5581, allocations: 19.98 kB / 0.6339 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.5582, allocations: 35.89 kB / 0.6339 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.5583, allocations: 15.98 kB / 0.634 GB, free: 1.961 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005414/0.5637, allocations: 3.245 MB / 0.6371 GB, free: 14.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5637, allocations: 0 / 0.6371 GB, free: 14.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002162/0.5659, allocations: 0.5188 MB / 0.6376 GB, free: 14.2 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.003201/0.5691, allocations: 2.713 MB / 0.6403 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.571, allocations: 1.032 MB / 0.6413 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.571, allocations: 0 / 0.6413 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.5718, allocations: 0.5129 MB / 0.6418 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/0.5763, allocations: 0.8171 MB / 0.6426 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04843/0.6247, allocations: 30.31 MB / 0.6722 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.6266, allocations: 1.444 MB / 0.6736 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001231/0.6278, allocations: 397.3 kB / 0.674 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/0.6296, allocations: 1.374 MB / 0.6753 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.6296, allocations: 4 kB / 0.6753 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3571/0.9867, allocations: 72.47 MB / 0.7461 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.03/22.02, allocations: 7.844 kB / 0.7461 GB, free: 179.8 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Boundaries_Tests_TestBoundaries.fmu > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.191548492992297] Failed to read output from testmodel.py, exit status != 0: 22.239285540999845 22.252623247 21.794300745 Calling exit ...