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.00153/0.00153, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001872/0.001872, allocations: 159.5 kB / 24.86 MB, free: 9.289 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.9678/0.9678, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.765/1.765, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.903e-06/1.903e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.786e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0155/0.01552, allocations: 20.87 MB / 0.8087 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.02852, allocations: 8.249 MB / 0.8168 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.03109, allocations: 150.7 kB / 0.8169 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.03234, allocations: 0.6746 MB / 0.8176 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.03629, allocations: 2.463 MB / 0.82 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.03944, allocations: 1.926 MB / 0.8218 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.006158/0.0456, allocations: 6.652 MB / 0.8283 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.04774, allocations: 1.654 MB / 0.8299 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004506/0.05225, allocations: 3.18 MB / 0.8331 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.05414, allocations: 1.62 MB / 0.8346 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.05442, allocations: 196 kB / 0.8348 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.05517, allocations: 399.5 kB / 0.8352 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.05554, allocations: 0.5796 MB / 0.8358 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008038/0.05635, allocations: 0.8301 MB / 0.8366 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.05816, allocations: 1.923 MB / 0.8385 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.05816, allocations: 0 / 0.8385 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.82e-07/0.05816, allocations: 0 / 0.8385 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.05818, allocations: 0 / 0.8385 GB, free: 8.727 MB / 0.7917 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.002252/0.06043, allocations: 2.658 MB / 0.8411 GB, free: 6.012 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.06046, allocations: 8.031 kB / 0.8411 GB, free: 6.004 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.06091, allocations: 419 kB / 0.8415 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.0628, allocations: 1.769 MB / 0.8432 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.06286, allocations: 106.7 kB / 0.8433 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.06299, allocations: 152 kB / 0.8434 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.06428, allocations: 1.335 MB / 0.8447 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.06431, allocations: 0 / 0.8447 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/0.06438, allocations: 60 kB / 0.8448 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.06442, allocations: 36 kB / 0.8448 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.0649, allocations: 407.7 kB / 0.8452 GB, free: 1.5 MB / 0.7917 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.004388/0.06929, allocations: 5.722 MB / 0.8508 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.06963, allocations: 233.5 kB / 0.851 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.06976, allocations: 117.9 kB / 0.8511 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.06988, allocations: 44.47 kB / 0.8512 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.06991, allocations: 53.83 kB / 0.8512 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=59): time 1.533e-06/0.06991, allocations: 0 / 0.8512 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=59): time 0.0005746/0.07048, allocations: 500 kB / 0.8517 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.07051, allocations: 59.91 kB / 0.8518 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.07143, allocations: 1.346 MB / 0.8531 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.07147, allocations: 41.7 kB / 0.8531 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.072, allocations: 1.037 MB / 0.8541 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.07214, allocations: 234.1 kB / 0.8544 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.07233, allocations: 240.3 kB / 0.8546 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.07246, allocations: 0.5198 MB / 0.8551 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.07263, allocations: 118.5 kB / 0.8552 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.07321, allocations: 0.8974 MB / 0.8561 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.0738, allocations: 0.7504 MB / 0.8568 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.0738, allocations: 0 / 0.8568 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008274/0.07463, allocations: 0.832 MB / 0.8576 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.07465, allocations: 14.34 kB / 0.8576 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.07466, allocations: 8 kB / 0.8577 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.07468, allocations: 16.72 kB / 0.8577 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.07515, allocations: 267.6 kB / 0.8579 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.07516, allocations: 23.88 kB / 0.8579 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.07559, allocations: 119.2 kB / 0.8581 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.07564, allocations: 43.98 kB / 0.8581 GB, free: 3.578 MB / 0.8073 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.000245/0.07588, allocations: 220.3 kB / 0.8583 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.07605, allocations: 202.8 kB / 0.8585 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005391/0.07659, allocations: 0.4958 MB / 0.859 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.0766, allocations: 8 kB / 0.859 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.0766, allocations: 0 / 0.859 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003148/0.07692, allocations: 461.2 kB / 0.8594 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.07839, allocations: 1.499 MB / 0.8609 GB, free: 0.5742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.0784, allocations: 4.031 kB / 0.8609 GB, free: 0.5703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.07871, allocations: 151.8 kB / 0.8611 GB, free: 432 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.07872, allocations: 4 kB / 0.8611 GB, free: 428 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.07874, allocations: 20 kB / 0.8611 GB, free: 408 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.07874, allocations: 4 kB / 0.8611 GB, free: 404 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.07875, allocations: 7.984 kB / 0.8611 GB, free: 396 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000745/0.07949, allocations: 0.8033 MB / 0.8619 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.07977, allocations: 258.6 kB / 0.8621 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.07987, allocations: 15.94 kB / 0.8621 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.08023, allocations: 43.91 kB / 0.8622 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.0803, allocations: 60.28 kB / 0.8622 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.08034, allocations: 35.97 kB / 0.8623 GB, free: 15.12 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004969/0.08084, allocations: 0.7433 MB / 0.863 GB, free: 14.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.08084, allocations: 0 / 0.863 GB, free: 14.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007597/0.0816, allocations: 0.5263 MB / 0.8635 GB, free: 13.86 MB / 0.823 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.0002698/0.08187, allocations: 194.8 kB / 0.8637 GB, free: 13.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.08235, allocations: 462.2 kB / 0.8641 GB, free: 13.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.08236, allocations: 0.9375 kB / 0.8641 GB, free: 13.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.08253, allocations: 179.8 kB / 0.8643 GB, free: 13.02 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.08446, allocations: 0.9391 MB / 0.8652 GB, free: 12.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.08722, allocations: 2.805 MB / 0.868 GB, free: 9.211 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.08743, allocations: 344.2 kB / 0.8683 GB, free: 8.852 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005492/0.08798, allocations: 284.8 kB / 0.8686 GB, free: 8.574 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.08914, allocations: 0.7515 MB / 0.8693 GB, free: 7.82 MB / 0.823 GB Notification: Performance of SimCode: time 1.072e-06/0.08914, allocations: 0 / 0.8693 GB, free: 7.82 MB / 0.823 GB Notification: Performance of Templates: time 0.03695/0.1261, allocations: 34.08 MB / 0.9026 GB, free: 6.57 MB / 0.8542 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: 5.953464223071933]