Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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: 100.3 kB / 19.72 MB, free: 428 kB / 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.001555/0.001555, allocations: 214.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9629/0.9629, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.029/2.029, allocations: 0.5045 GB / 0.8104 GB, free: 2.738 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.83 kB / 1.177 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7322, allocations: 180 MB / 1.352 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05992/0.7922, allocations: 71.12 MB / 1.422 GB, free: 10.27 MB / 1.104 GB Notification: Performance of NFInst.instExpressions: time 0.02216/0.8143, allocations: 17.55 MB / 1.439 GB, free: 8.68 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/0.8185, allocations: 150.8 kB / 1.439 GB, free: 8.531 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.003539/0.822, allocations: 1.238 MB / 1.44 GB, free: 7.285 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.008752/0.8308, allocations: 3.879 MB / 1.444 GB, free: 3.391 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.004743/0.8355, allocations: 2.12 MB / 1.446 GB, free: 1.289 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.008861/0.8444, allocations: 6.73 MB / 1.453 GB, free: 10.54 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.8472, allocations: 1.522 MB / 1.454 GB, free: 8.973 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.8526, allocations: 2.749 MB / 1.457 GB, free: 6.23 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.8554, allocations: 1.755 MB / 1.459 GB, free: 4.469 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.0005045/0.8559, allocations: 200 kB / 1.459 GB, free: 4.273 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.8591, allocations: 1.329 MB / 1.46 GB, free: 2.941 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.8596, allocations: 0.5757 MB / 1.461 GB, free: 2.363 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.8611, allocations: 1.007 MB / 1.462 GB, free: 1.352 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.005322/0.8664, allocations: 3.795 MB / 1.465 GB, free: 13.54 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.8664, allocations: 4 kB / 1.465 GB, free: 13.54 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8664, allocations: 0 / 1.465 GB, free: 13.54 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001132/0.8666, allocations: 0 / 1.465 GB, free: 13.54 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004374/0.8709, allocations: 2.723 MB / 1.468 GB, free: 10.77 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.871, allocations: 8.922 kB / 1.468 GB, free: 10.76 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.8712, allocations: 198.8 kB / 1.468 GB, free: 10.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.8718, allocations: 279.3 kB / 1.469 GB, free: 10.28 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.8746, allocations: 1.964 MB / 1.47 GB, free: 8.273 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.8746, allocations: 106.7 kB / 1.471 GB, free: 8.168 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.8748, allocations: 144 kB / 1.471 GB, free: 8.027 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.8767, allocations: 1.822 MB / 1.473 GB, free: 6.055 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.8768, allocations: 0 / 1.473 GB, free: 6.055 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/0.8768, allocations: 63.98 kB / 1.473 GB, free: 5.992 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.8769, allocations: 36 kB / 1.473 GB, free: 5.957 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.8787, allocations: 1.126 MB / 1.474 GB, free: 4.824 MB / 1.151 GB 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.005907/0.8846, allocations: 5.339 MB / 1.479 GB, free: 15.32 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.8853, allocations: 447.9 kB / 1.479 GB, free: 14.88 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.8857, allocations: 310.2 kB / 1.48 GB, free: 14.58 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/0.8862, allocations: 104.4 kB / 1.48 GB, free: 14.47 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.8862, allocations: 43.06 kB / 1.48 GB, free: 14.42 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 3.797e-06/0.8862, allocations: 4 kB / 1.48 GB, free: 14.42 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.001648/0.8879, allocations: 0.9682 MB / 1.481 GB, free: 13.45 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.8879, allocations: 59.91 kB / 1.481 GB, free: 13.38 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.8898, allocations: 1.819 MB / 1.483 GB, free: 11.52 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.031e-05/0.8899, allocations: 37.7 kB / 1.483 GB, free: 11.48 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/0.8905, allocations: 0.9568 MB / 1.484 GB, free: 10.52 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.8907, allocations: 230 kB / 1.484 GB, free: 10.29 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.8909, allocations: 222.8 kB / 1.484 GB, free: 10.07 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.891, allocations: 353.9 kB / 1.484 GB, free: 9.715 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.8915, allocations: 338.3 kB / 1.485 GB, free: 9.383 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.8922, allocations: 0.966 MB / 1.486 GB, free: 8.199 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.8936, allocations: 1.013 MB / 1.487 GB, free: 7.051 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.8936, allocations: 4 kB / 1.487 GB, free: 7.047 MB / 1.167 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00175/0.8954, allocations: 1.238 MB / 1.488 GB, free: 5.801 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.8954, allocations: 11.94 kB / 1.488 GB, free: 5.789 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.8954, allocations: 8 kB / 1.488 GB, free: 5.781 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.8954, allocations: 16 kB / 1.488 GB, free: 5.766 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.896, allocations: 299.9 kB / 1.488 GB, free: 5.473 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.896, allocations: 15.94 kB / 1.488 GB, free: 5.457 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.897, allocations: 166.9 kB / 1.488 GB, free: 5.293 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.8971, allocations: 55.98 kB / 1.488 GB, free: 5.238 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006823/0.8978, allocations: 433.4 kB / 1.489 GB, free: 4.805 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.898, allocations: 202.7 kB / 1.489 GB, free: 4.605 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.8992, allocations: 0.879 MB / 1.49 GB, free: 3.715 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.8993, allocations: 4 kB / 1.49 GB, free: 3.711 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.8993, allocations: 4 kB / 1.49 GB, free: 3.707 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008409/0.9001, allocations: 0.8018 MB / 1.491 GB, free: 2.855 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.903, allocations: 2.243 MB / 1.493 GB, free: 0.5273 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.9031, allocations: 8 kB / 1.493 GB, free: 0.5195 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.9035, allocations: 171.8 kB / 1.493 GB, free: 360 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.9035, allocations: 8 kB / 1.493 GB, free: 352 kB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.9035, allocations: 12 kB / 1.493 GB, free: 340 kB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.9035, allocations: 16.03 kB / 1.493 GB, free: 324 kB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9035, allocations: 0 / 1.493 GB, free: 324 kB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.9054, allocations: 1.363 MB / 1.494 GB, free: 14.91 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.9059, allocations: 302.4 kB / 1.495 GB, free: 14.61 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.9061, allocations: 15.98 kB / 1.495 GB, free: 14.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.9066, allocations: 67.92 kB / 1.495 GB, free: 14.53 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.9067, allocations: 48.41 kB / 1.495 GB, free: 14.48 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.9067, allocations: 31.98 kB / 1.495 GB, free: 14.45 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001359/0.9081, allocations: 1.255 MB / 1.496 GB, free: 13.18 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9081, allocations: 0 / 1.496 GB, free: 13.18 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.001507/0.9096, allocations: 0.6665 MB / 1.497 GB, free: 12.51 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002608/0.9122, allocations: 2.397 MB / 1.499 GB, free: 10.07 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.9133, allocations: 0.7885 MB / 1.5 GB, free: 9.281 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9134, allocations: 3.938 kB / 1.5 GB, free: 9.277 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.9138, allocations: 339.9 kB / 1.5 GB, free: 8.949 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.917, allocations: 1.165 MB / 1.501 GB, free: 7.805 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.9328, allocations: 12.69 MB / 1.514 GB, free: 10.59 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009811/0.9338, allocations: 0.8317 MB / 1.514 GB, free: 9.723 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.001573/0.9354, allocations: 376.9 kB / 1.515 GB, free: 9.359 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/0.9362, allocations: 0.7726 MB / 1.516 GB, free: 8.586 MB / 1.198 GB Notification: Performance of SimCode: time 2.305e-06/0.9362, allocations: 4 kB / 1.516 GB, free: 8.582 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.173/1.109, allocations: 62.7 MB / 1.577 GB, free: 11 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.868/9.977, allocations: 11.44 kB / 1.577 GB, free: 10.99 MB / 1.26 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.893637048080564]