Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.0009543/0.0009543, 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.001456/0.001456, allocations: 169 kB / 24.28 MB, free: 276 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 0.9243/0.9243, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.881/1.881, allocations: 359 MB / 0.6055 GB, free: 10.97 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 4 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.766e-05, allocations: 2.938 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0308/0.03083, allocations: 43.15 MB / 0.8293 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.0427, allocations: 10.65 MB / 0.8396 GB, free: 6.871 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.04402, allocations: 79.31 kB / 0.8397 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.04526, allocations: 0.648 MB / 0.8404 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.04851, allocations: 2.067 MB / 0.8424 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.05055, allocations: 1.243 MB / 0.8436 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002736/0.05328, allocations: 3.494 MB / 0.847 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.05433, allocations: 0.8421 MB / 0.8478 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.05649, allocations: 1.734 MB / 0.8495 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009778/0.05746, allocations: 0.8138 MB / 0.8503 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.0576, allocations: 100 kB / 0.8504 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.05879, allocations: 0.7324 MB / 0.8511 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.05899, allocations: 302.7 kB / 0.8514 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.05934, allocations: 450.9 kB / 0.8518 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.06081, allocations: 1.359 MB / 0.8532 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.06082, allocations: 12 kB / 0.8532 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.423e-06/0.06082, allocations: 0 / 0.8532 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.06084, allocations: 0 / 0.8532 GB, free: 8.973 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001617/0.06245, allocations: 1.572 MB / 0.8547 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.06249, allocations: 8.031 kB / 0.8547 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003394/0.06283, allocations: 208 kB / 0.8549 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.064, allocations: 1.074 MB / 0.856 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.06403, allocations: 50.38 kB / 0.856 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.06411, allocations: 79.94 kB / 0.8561 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.0649, allocations: 0.7518 MB / 0.8568 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.06492, allocations: 0 / 0.8568 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.06496, allocations: 32 kB / 0.8569 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.065, allocations: 16 kB / 0.8569 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.06543, allocations: 255.6 kB / 0.8571 GB, free: 4.773 MB / 0.8073 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.002402/0.06784, allocations: 2.927 MB / 0.86 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.06813, allocations: 162.8 kB / 0.8601 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.06824, allocations: 79.16 kB / 0.8602 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.0684, allocations: 59.94 kB / 0.8603 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.06843, allocations: 41.39 kB / 0.8603 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.06843, allocations: 0 / 0.8603 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31): time 0.0005203/0.06895, allocations: 297.8 kB / 0.8606 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.06898, allocations: 55.41 kB / 0.8606 GB, free: 1.027 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.06959, allocations: 0.7532 MB / 0.8614 GB, free: 268 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.06962, allocations: 37.7 kB / 0.8614 GB, free: 224 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.06993, allocations: 0.5651 MB / 0.862 GB, free: 15.64 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.07, allocations: 118.9 kB / 0.8621 GB, free: 15.53 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.07011, allocations: 119.9 kB / 0.8622 GB, free: 15.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.07023, allocations: 0.5004 MB / 0.8627 GB, free: 14.89 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.07034, allocations: 57.27 kB / 0.8627 GB, free: 14.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.07061, allocations: 484.8 kB / 0.8632 GB, free: 14.22 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.07096, allocations: 396.2 kB / 0.8636 GB, free: 13.74 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.07096, allocations: 0 / 0.8636 GB, free: 13.74 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005994/0.07156, allocations: 448.4 kB / 0.864 GB, free: 13.29 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.07158, allocations: 8 kB / 0.864 GB, free: 13.29 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.07159, allocations: 4 kB / 0.864 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.07161, allocations: 8 kB / 0.864 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.07185, allocations: 120.4 kB / 0.8641 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.07187, allocations: 11.94 kB / 0.8641 GB, free: 13.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.07209, allocations: 63.61 kB / 0.8642 GB, free: 13.08 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.07212, allocations: 24 kB / 0.8642 GB, free: 13.06 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0001699/0.07229, allocations: 188.4 kB / 0.8644 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.07239, allocations: 103.4 kB / 0.8645 GB, free: 12.76 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.07282, allocations: 305.6 kB / 0.8648 GB, free: 12.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.07283, allocations: 7.984 kB / 0.8648 GB, free: 12.45 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.07283, allocations: 3.938 kB / 0.8648 GB, free: 12.45 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002476/0.07308, allocations: 290.2 kB / 0.8651 GB, free: 12.13 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.07411, allocations: 1.044 MB / 0.8661 GB, free: 11.03 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.07412, allocations: 0 / 0.8661 GB, free: 11.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.07429, allocations: 75.89 kB / 0.8662 GB, free: 10.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.0743, allocations: 4.062 kB / 0.8662 GB, free: 10.95 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.07432, allocations: 12 kB / 0.8662 GB, free: 10.94 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.07432, allocations: 0 / 0.8662 GB, free: 10.94 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.07432, allocations: 4.156 kB / 0.8662 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.07487, allocations: 0.5486 MB / 0.8667 GB, free: 10.35 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.07504, allocations: 139.3 kB / 0.8669 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.0751, allocations: 12 kB / 0.8669 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.0753, allocations: 15.98 kB / 0.8669 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.07537, allocations: 31.89 kB / 0.8669 GB, free: 10.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.0754, allocations: 19.98 kB / 0.8669 GB, free: 10.13 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004303/0.07583, allocations: 486.9 kB / 0.8674 GB, free: 9.66 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.07583, allocations: 0 / 0.8674 GB, free: 9.66 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006085/0.07644, allocations: 359.1 kB / 0.8678 GB, free: 9.309 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0004794/0.07692, allocations: 375.9 kB / 0.8681 GB, free: 8.934 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.07728, allocations: 244.6 kB / 0.8683 GB, free: 8.691 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.07728, allocations: 0 / 0.8683 GB, free: 8.691 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.07742, allocations: 116.8 kB / 0.8685 GB, free: 8.574 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.0786, allocations: 0.4888 MB / 0.8689 GB, free: 8.098 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.08052, allocations: 1.464 MB / 0.8704 GB, free: 6.57 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.08065, allocations: 191 kB / 0.8705 GB, free: 6.359 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00036/0.08101, allocations: 165.2 kB / 0.8707 GB, free: 6.195 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.08121, allocations: 72.48 kB / 0.8708 GB, free: 6.125 MB / 0.823 GB Notification: Performance of SimCode: time 1.183e-06/0.08121, allocations: 4 kB / 0.8708 GB, free: 6.121 MB / 0.823 GB Notification: Performance of Templates: time 0.02021/0.1014, allocations: 18.84 MB / 0.8892 GB, free: 3.707 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.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: 5.718931009992957]