Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001009/0.001009, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001129/0.001129, allocations: 185 kB / 24.09 MB, free: 416 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.9753/0.9753, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.949/1.949, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.215e-05, allocations: 3.125 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01525/0.01528, allocations: 20.99 MB / 0.8325 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01262/0.0279, allocations: 8.258 MB / 0.8406 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.03076, allocations: 150.7 kB / 0.8407 GB, free: 4.008 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.03249, allocations: 0.6746 MB / 0.8414 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005014/0.03751, allocations: 2.455 MB / 0.8438 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.04083, allocations: 1.922 MB / 0.8457 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.007151/0.04798, allocations: 6.679 MB / 0.8522 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.05042, allocations: 1.654 MB / 0.8538 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004963/0.05538, allocations: 3.178 MB / 0.8569 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.05736, allocations: 1.594 MB / 0.8585 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.05763, allocations: 196 kB / 0.8586 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009185/0.05855, allocations: 399.5 kB / 0.859 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.05895, allocations: 0.5835 MB / 0.8596 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0008739/0.05982, allocations: 0.8418 MB / 0.8604 GB, free: 15.77 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.06215, allocations: 1.911 MB / 0.8623 GB, free: 13.85 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.06216, allocations: 3.938 kB / 0.8623 GB, free: 13.85 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.21e-07/0.06216, allocations: 0 / 0.8623 GB, free: 13.85 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.842e-05/0.0622, allocations: 0 / 0.8623 GB, free: 13.85 MB / 0.823 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.002733/0.06493, allocations: 2.658 MB / 0.8649 GB, free: 11.13 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.06497, allocations: 8.031 kB / 0.8649 GB, free: 11.12 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.06552, allocations: 411 kB / 0.8653 GB, free: 10.72 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.06732, allocations: 1.773 MB / 0.867 GB, free: 8.891 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.809e-05/0.06737, allocations: 106.7 kB / 0.8671 GB, free: 8.785 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.06751, allocations: 148 kB / 0.8673 GB, free: 8.641 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.06876, allocations: 1.34 MB / 0.8686 GB, free: 7.129 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.06878, allocations: 0 / 0.8686 GB, free: 7.129 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.06886, allocations: 64 kB / 0.8686 GB, free: 7.066 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.0689, allocations: 47.92 kB / 0.8687 GB, free: 7.02 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.06939, allocations: 395.8 kB / 0.869 GB, free: 6.617 MB / 0.823 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.004524/0.07392, allocations: 5.742 MB / 0.8747 GB, free: 0.707 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.07423, allocations: 230.5 kB / 0.8749 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.07435, allocations: 121.1 kB / 0.875 GB, free: 360 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.07448, allocations: 57.67 kB / 0.875 GB, free: 312 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.07451, allocations: 45.89 kB / 0.8751 GB, free: 256 kB / 0.823 GB Notification: Performance of pre-optimization done (n=59): time 2.645e-06/0.07451, allocations: 0 / 0.8751 GB, free: 256 kB / 0.823 GB Notification: Performance of matching and sorting (n=59): time 0.0006409/0.07515, allocations: 0.4884 MB / 0.8756 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.07517, allocations: 59.91 kB / 0.8756 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/0.0761, allocations: 1.346 MB / 0.8769 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.07615, allocations: 45.7 kB / 0.877 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/0.07666, allocations: 1.034 MB / 0.878 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.0768, allocations: 242 kB / 0.8782 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.07698, allocations: 236.4 kB / 0.8784 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.07725, allocations: 0.5198 MB / 0.879 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.07741, allocations: 118.5 kB / 0.8791 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.07787, allocations: 0.9012 MB / 0.8799 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005505/0.07842, allocations: 0.7387 MB / 0.8807 GB, free: 10 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.07842, allocations: 4 kB / 0.8807 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.000802/0.07923, allocations: 0.8324 MB / 0.8815 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.07924, allocations: 12 kB / 0.8815 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.07925, allocations: 12.12 kB / 0.8815 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.07927, allocations: 16 kB / 0.8815 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.07972, allocations: 263.5 kB / 0.8818 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.07973, allocations: 19.94 kB / 0.8818 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.08022, allocations: 123.2 kB / 0.8819 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.08027, allocations: 40 kB / 0.882 GB, free: 8.684 MB / 0.8386 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.0002488/0.08052, allocations: 224.2 kB / 0.8822 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.08068, allocations: 202.8 kB / 0.8824 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/0.08122, allocations: 0.4975 MB / 0.8828 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.08123, allocations: 7.984 kB / 0.8829 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.08123, allocations: 0 / 0.8829 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003139/0.08155, allocations: 457.2 kB / 0.8833 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.08311, allocations: 1.515 MB / 0.8848 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.08312, allocations: 0 / 0.8848 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.08343, allocations: 143.8 kB / 0.8849 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.08343, allocations: 8 kB / 0.8849 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.08346, allocations: 12 kB / 0.8849 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.08346, allocations: 16.23 kB / 0.8849 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.08346, allocations: 3.938 kB / 0.8849 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.08428, allocations: 0.8072 MB / 0.8857 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.08459, allocations: 262.5 kB / 0.886 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.08468, allocations: 16 kB / 0.886 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.08503, allocations: 35.97 kB / 0.886 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.08511, allocations: 60.28 kB / 0.8861 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.08515, allocations: 35.97 kB / 0.8861 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005176/0.08566, allocations: 0.7472 MB / 0.8869 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.08566, allocations: 0 / 0.8869 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001125/0.08679, allocations: 0.5223 MB / 0.8874 GB, free: 2.957 MB / 0.8386 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.0003201/0.08711, allocations: 198.9 kB / 0.8876 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006457/0.08775, allocations: 462.9 kB / 0.888 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.08776, allocations: 0 / 0.888 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.08799, allocations: 175.6 kB / 0.8882 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.09054, allocations: 0.9467 MB / 0.8891 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.09441, allocations: 2.786 MB / 0.8918 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.09483, allocations: 344.2 kB / 0.8921 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008278/0.09565, allocations: 284.4 kB / 0.8924 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/0.09709, allocations: 0.7593 MB / 0.8931 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of SimCode: time 1.312e-06/0.09709, allocations: 0 / 0.8931 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.04777/0.1449, allocations: 33.64 MB / 0.926 GB, free: 12.16 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.851183283608407]