Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00146/0.00146, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00181/0.00181, allocations: 169 kB / 24.27 MB, free: 284 kB / 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.906/1.906, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.619e-05/3.795e-05, allocations: 9.328 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06427/0.06431, allocations: 80.07 MB / 0.8653 GB, free: 12.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.0876, allocations: 19.45 MB / 0.8843 GB, free: 9 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.09142, allocations: 150.7 kB / 0.8844 GB, free: 8.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.09517, allocations: 1.253 MB / 0.8857 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.1053, allocations: 3.99 MB / 0.8896 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005372/0.1106, allocations: 2.206 MB / 0.8917 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01026/0.1209, allocations: 6.866 MB / 0.8984 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004431/0.1253, allocations: 1.662 MB / 0.9 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00836/0.1337, allocations: 3.303 MB / 0.9033 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002771/0.1365, allocations: 1.616 MB / 0.9048 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003684/0.1368, allocations: 196 kB / 0.905 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003332/0.1402, allocations: 1.375 MB / 0.9064 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005443/0.1407, allocations: 0.5913 MB / 0.907 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.1419, allocations: 0.8496 MB / 0.9078 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005149/0.1471, allocations: 2.636 MB / 0.9104 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1471, allocations: 0 / 0.9104 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1471, allocations: 4 kB / 0.9104 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.673e-05/0.1472, allocations: 3.938 kB / 0.9104 GB, free: 14.21 MB / 0.8698 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.003852/0.151, allocations: 2.806 MB / 0.9131 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1511, allocations: 11.97 kB / 0.9131 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.1518, allocations: 410.9 kB / 0.9135 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.1542, allocations: 2.016 MB / 0.9155 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.1543, allocations: 102.7 kB / 0.9156 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.1546, allocations: 156 kB / 0.9157 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.1562, allocations: 1.405 MB / 0.9171 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.1562, allocations: 3.938 kB / 0.9171 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.1563, allocations: 63.98 kB / 0.9172 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.1564, allocations: 36 kB / 0.9172 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008529/0.1572, allocations: 498.8 kB / 0.9177 GB, free: 6.426 MB / 0.8698 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.005107/0.1623, allocations: 5.708 MB / 0.9232 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.1628, allocations: 251 kB / 0.9235 GB, free: 304 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.163, allocations: 141.9 kB / 0.9236 GB, free: 160 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.1632, allocations: 112.4 kB / 0.9237 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.1633, allocations: 45.89 kB / 0.9238 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 3.747e-06/0.1633, allocations: 4 kB / 0.9238 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.0009505/0.1642, allocations: 0.5351 MB / 0.9243 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1643, allocations: 55.91 kB / 0.9243 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.1655, allocations: 1.394 MB / 0.9257 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.1656, allocations: 41.7 kB / 0.9258 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/0.1662, allocations: 1.026 MB / 0.9268 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1663, allocations: 234 kB / 0.927 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.1665, allocations: 232.5 kB / 0.9272 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1667, allocations: 0.5199 MB / 0.9277 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1669, allocations: 130.5 kB / 0.9278 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.1675, allocations: 0.9053 MB / 0.9287 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.1684, allocations: 0.77 MB / 0.9295 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.1684, allocations: 0 / 0.9295 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001114/0.1695, allocations: 0.875 MB / 0.9303 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.1695, allocations: 11.98 kB / 0.9303 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1695, allocations: 12 kB / 0.9303 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1695, allocations: 16 kB / 0.9304 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.1701, allocations: 260.2 kB / 0.9306 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.1701, allocations: 23.92 kB / 0.9306 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.1707, allocations: 115.3 kB / 0.9307 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.1707, allocations: 51.98 kB / 0.9308 GB, free: 8.273 MB / 0.8855 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.0003487/0.1711, allocations: 224.2 kB / 0.931 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.1713, allocations: 198.8 kB / 0.9312 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007486/0.172, allocations: 0.5406 MB / 0.9317 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.172, allocations: 4 kB / 0.9317 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.172, allocations: 0 / 0.9317 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004788/0.1725, allocations: 0.4933 MB / 0.9322 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.1746, allocations: 1.795 MB / 0.934 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1746, allocations: 4.25 kB / 0.934 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.175, allocations: 159.8 kB / 0.9341 GB, free: 4.715 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.1751, allocations: 4 kB / 0.9341 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.1751, allocations: 16 kB / 0.9341 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.1751, allocations: 7.984 kB / 0.9341 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1751, allocations: 7.938 kB / 0.9341 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009356/0.176, allocations: 0.8503 MB / 0.935 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.1764, allocations: 270.6 kB / 0.9352 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1765, allocations: 16 kB / 0.9353 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.1769, allocations: 43.92 kB / 0.9353 GB, free: 3.453 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.177, allocations: 56.28 kB / 0.9353 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.177, allocations: 35.97 kB / 0.9354 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009344/0.178, allocations: 0.8257 MB / 0.9362 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/0.178, allocations: 0 / 0.9362 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001524/0.1795, allocations: 0.6896 MB / 0.9369 GB, free: 1.855 MB / 0.8855 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.0008687/0.1804, allocations: 0.5983 MB / 0.9374 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007933/0.1812, allocations: 499 kB / 0.9379 GB, free: 0.7656 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1812, allocations: 0 / 0.9379 GB, free: 0.7656 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.1814, allocations: 195.6 kB / 0.9381 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.1837, allocations: 0.9514 MB / 0.939 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.1877, allocations: 2.806 MB / 0.9418 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1879, allocations: 344.2 kB / 0.9421 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001099/0.189, allocations: 320.9 kB / 0.9424 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.1893, allocations: 140.5 kB / 0.9425 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of SimCode: time 2.375e-06/0.1893, allocations: 0 / 0.9425 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of Templates: time 0.04497/0.2342, allocations: 36.59 MB / 0.9783 GB, free: 8.121 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.288740579038858]