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.000762/0.000762, allocations: 80.52 kB / 19.96 MB, free: 4.586 MB / 18.57 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.001032/0.001032, allocations: 169.2 kB / 23.24 MB, free: 1.309 MB / 18.57 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.9082/0.9082, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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 1.799/1.799, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.313e-06/1.313e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.172e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4766/0.4766, allocations: 70.51 MB / 1.07 GB, free: 43.66 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.4903, allocations: 17.58 MB / 1.087 GB, free: 33.28 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.492, allocations: 149.9 kB / 1.087 GB, free: 33.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.4936, allocations: 1.255 MB / 1.088 GB, free: 32.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005005/0.4986, allocations: 3.976 MB / 1.092 GB, free: 30.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.5017, allocations: 2.202 MB / 1.094 GB, free: 28.88 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005805/0.5075, allocations: 6.805 MB / 1.101 GB, free: 25.48 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.5091, allocations: 1.519 MB / 1.102 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004228/0.5134, allocations: 3.544 MB / 1.106 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.5148, allocations: 1.567 MB / 1.107 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002162/0.515, allocations: 199 kB / 1.107 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.5172, allocations: 1.352 MB / 1.109 GB, free: 22 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.5176, allocations: 0.5849 MB / 1.109 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007469/0.5183, allocations: 0.8576 MB / 1.11 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.5226, allocations: 3.796 MB / 1.114 GB, free: 19.89 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5226, allocations: 0 / 1.114 GB, free: 19.89 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5226, allocations: 0.7969 kB / 1.114 GB, free: 19.89 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.5226, allocations: 5.125 kB / 1.114 GB, free: 19.89 MB / 0.9948 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.003443/0.5261, allocations: 2.679 MB / 1.116 GB, free: 18.19 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.5261, allocations: 11.62 kB / 1.116 GB, free: 18.19 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.5263, allocations: 206.3 kB / 1.117 GB, free: 18.05 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.5268, allocations: 277.5 kB / 1.117 GB, free: 17.92 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.529, allocations: 1.967 MB / 1.119 GB, free: 16.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.5291, allocations: 110 kB / 1.119 GB, free: 16.79 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.5292, allocations: 144 kB / 1.119 GB, free: 16.74 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.5311, allocations: 1.824 MB / 1.121 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.5311, allocations: 2.344 kB / 1.121 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.5312, allocations: 57.84 kB / 1.121 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.5312, allocations: 37.97 kB / 1.121 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.5327, allocations: 1.124 MB / 1.122 GB, free: 15.21 MB / 0.9948 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.004691/0.5374, allocations: 5.333 MB / 1.127 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.538, allocations: 449.1 kB / 1.128 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.5384, allocations: 307.4 kB / 1.128 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.5387, allocations: 110.8 kB / 1.128 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5387, allocations: 47.45 kB / 1.128 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=59): time 2.004e-06/0.5387, allocations: 1.25 kB / 1.128 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=59): time 0.001394/0.5401, allocations: 0.9695 MB / 1.129 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.5402, allocations: 59.88 kB / 1.129 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.5418, allocations: 1.818 MB / 1.131 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.5419, allocations: 39.08 kB / 1.131 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/0.5423, allocations: 0.9483 MB / 1.132 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.5425, allocations: 229 kB / 1.132 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.5427, allocations: 224.2 kB / 1.132 GB, free: 9.188 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.5427, allocations: 349.1 kB / 1.133 GB, free: 8.863 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.5432, allocations: 333.5 kB / 1.133 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.5438, allocations: 0.9719 MB / 1.134 GB, free: 7.871 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5448, allocations: 1.009 MB / 1.135 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.5448, allocations: 6 kB / 1.135 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001437/0.5463, allocations: 1.226 MB / 1.136 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5463, allocations: 9.469 kB / 1.136 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5463, allocations: 10.91 kB / 1.136 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.5463, allocations: 15.66 kB / 1.136 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.5469, allocations: 297.2 kB / 1.136 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.547, allocations: 22.69 kB / 1.136 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.5476, allocations: 165.9 kB / 1.137 GB, free: 6.559 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.5477, allocations: 55.14 kB / 1.137 GB, free: 6.547 MB / 0.9948 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.0004101/0.5481, allocations: 436.8 kB / 1.137 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.5483, allocations: 210 kB / 1.137 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.5494, allocations: 0.8755 MB / 1.138 GB, free: 5.805 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.5495, allocations: 8.094 kB / 1.138 GB, free: 5.805 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5495, allocations: 0 / 1.138 GB, free: 5.805 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008487/0.5503, allocations: 0.8036 MB / 1.139 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.553, allocations: 2.244 MB / 1.141 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.553, allocations: 6.156 kB / 1.141 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.5534, allocations: 173.5 kB / 1.141 GB, free: 4.273 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.5534, allocations: 8.688 kB / 1.141 GB, free: 4.27 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.5535, allocations: 22.33 kB / 1.141 GB, free: 4.258 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.5535, allocations: 4.719 kB / 1.141 GB, free: 4.258 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5535, allocations: 6.625 kB / 1.141 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.5551, allocations: 1.353 MB / 1.143 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/0.5556, allocations: 296.4 kB / 1.143 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.5557, allocations: 18.62 kB / 1.143 GB, free: 3.418 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/0.5562, allocations: 69.95 kB / 1.143 GB, free: 3.398 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.5563, allocations: 50.52 kB / 1.143 GB, free: 3.391 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.5564, allocations: 37.89 kB / 1.143 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001261/0.5577, allocations: 1.25 MB / 1.144 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.5577, allocations: 0 / 1.144 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001514/0.5592, allocations: 0.664 MB / 1.145 GB, free: 2.73 MB / 0.9948 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.00242/0.5616, allocations: 2.416 MB / 1.147 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.5627, allocations: 0.7861 MB / 1.148 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5627, allocations: 1.406 kB / 1.148 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.5631, allocations: 341.8 kB / 1.148 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.566, allocations: 1.166 MB / 1.15 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.584, allocations: 12.61 MB / 1.162 GB, free: 10.43 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.5847, allocations: 0.8356 MB / 1.163 GB, free: 10.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001377/0.5861, allocations: 379.2 kB / 1.163 GB, free: 10.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/0.5868, allocations: 0.7773 MB / 1.164 GB, free: 9.523 MB / 1.01 GB Notification: Performance of SimCode: time 1.082e-06/0.5868, allocations: 0 / 1.164 GB, free: 9.523 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/0.7145, allocations: 62.72 MB / 1.225 GB, free: 7.555 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/9.445, allocations: 0 / 1.225 GB, free: 7.555 MB / 1.057 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: 13.934937461279333]