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.001217/0.001217, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001167/0.001167, allocations: 161 kB / 23.82 MB, free: 0.7461 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.948/0.948, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.938/1.938, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.583e-06/1.583e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.657e-05, allocations: 7.75 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0158/0.01583, allocations: 21.3 MB / 0.8323 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.02947, allocations: 8.282 MB / 0.8404 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003682/0.03315, allocations: 154.6 kB / 0.8406 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.03486, allocations: 0.6669 MB / 0.8412 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.04006, allocations: 2.459 MB / 0.8436 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.04377, allocations: 1.922 MB / 0.8455 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008117/0.05189, allocations: 6.681 MB / 0.852 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.05468, allocations: 1.646 MB / 0.8536 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006423/0.0611, allocations: 3.194 MB / 0.8568 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.06401, allocations: 1.594 MB / 0.8583 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0004945/0.06451, allocations: 196 kB / 0.8585 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.06564, allocations: 395.5 kB / 0.8589 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.06612, allocations: 0.5874 MB / 0.8595 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.06741, allocations: 0.8418 MB / 0.8603 GB, free: 15.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.07036, allocations: 1.907 MB / 0.8621 GB, free: 13.79 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.07036, allocations: 0 / 0.8621 GB, free: 13.79 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.774e-06/0.07036, allocations: 0 / 0.8621 GB, free: 13.79 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.74e-05/0.07043, allocations: 3.938 kB / 0.8621 GB, free: 13.78 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.003496/0.07393, allocations: 2.639 MB / 0.8647 GB, free: 11.09 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.07397, allocations: 8.031 kB / 0.8647 GB, free: 11.08 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007633/0.07473, allocations: 411 kB / 0.8651 GB, free: 10.68 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.07723, allocations: 1.804 MB / 0.8669 GB, free: 8.812 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.0773, allocations: 102.7 kB / 0.867 GB, free: 8.711 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.07749, allocations: 155.9 kB / 0.8671 GB, free: 8.559 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.07954, allocations: 1.413 MB / 0.8685 GB, free: 6.973 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.07957, allocations: 3.938 kB / 0.8685 GB, free: 6.969 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.07968, allocations: 64 kB / 0.8686 GB, free: 6.906 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.07973, allocations: 39.98 kB / 0.8686 GB, free: 6.867 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.08089, allocations: 494.8 kB / 0.8691 GB, free: 6.375 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.006032/0.08693, allocations: 5.712 MB / 0.8747 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.08743, allocations: 250.6 kB / 0.8749 GB, free: 248 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.08779, allocations: 141.2 kB / 0.875 GB, free: 104 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.08793, allocations: 48.36 kB / 0.8751 GB, free: 56 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.08798, allocations: 49.94 kB / 0.8751 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 2.966e-06/0.08799, allocations: 0 / 0.8751 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.0009756/0.08896, allocations: 0.5311 MB / 0.8756 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.08899, allocations: 59.91 kB / 0.8757 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.09045, allocations: 1.375 MB / 0.877 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.0905, allocations: 41.7 kB / 0.8771 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.09115, allocations: 1.018 MB / 0.8781 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.09133, allocations: 230.1 kB / 0.8783 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.09157, allocations: 236.4 kB / 0.8785 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.09172, allocations: 0.5199 MB / 0.879 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.09199, allocations: 138.5 kB / 0.8792 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.09259, allocations: 0.9014 MB / 0.88 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.09341, allocations: 0.7622 MB / 0.8808 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.09342, allocations: 4 kB / 0.8808 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001448/0.09487, allocations: 0.8671 MB / 0.8816 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.09489, allocations: 15.94 kB / 0.8817 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.0949, allocations: 8.844 kB / 0.8817 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.09493, allocations: 16 kB / 0.8817 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.09561, allocations: 267.6 kB / 0.8819 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.09563, allocations: 19.94 kB / 0.882 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.09632, allocations: 123.2 kB / 0.8821 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.09639, allocations: 51.98 kB / 0.8821 GB, free: 8.297 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.0003147/0.0967, allocations: 228.2 kB / 0.8823 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.09693, allocations: 202.8 kB / 0.8825 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/0.09773, allocations: 0.5257 MB / 0.883 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.09774, allocations: 11.98 kB / 0.8831 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.09774, allocations: 0 / 0.8831 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000542/0.09829, allocations: 493.2 kB / 0.8835 GB, free: 6.789 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.1007, allocations: 1.791 MB / 0.8853 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1007, allocations: 3.984 kB / 0.8853 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.1011, allocations: 155.8 kB / 0.8854 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.1011, allocations: 4 kB / 0.8854 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.1012, allocations: 19.98 kB / 0.8854 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1012, allocations: 4 kB / 0.8855 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1012, allocations: 3.938 kB / 0.8855 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1022, allocations: 0.8621 MB / 0.8863 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.1027, allocations: 266.5 kB / 0.8866 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.1028, allocations: 12 kB / 0.8866 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.1033, allocations: 43.95 kB / 0.8866 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1034, allocations: 56.39 kB / 0.8867 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.1035, allocations: 35.97 kB / 0.8867 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009294/0.1044, allocations: 0.8139 MB / 0.8875 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1044, allocations: 4 kB / 0.8875 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001233/0.1056, allocations: 0.5223 MB / 0.888 GB, free: 2.074 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.0003602/0.106, allocations: 190.9 kB / 0.8882 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008108/0.1068, allocations: 494.9 kB / 0.8887 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1068, allocations: 0 / 0.8887 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.107, allocations: 199.9 kB / 0.8888 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.109, allocations: 0.9519 MB / 0.8898 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.1126, allocations: 2.81 MB / 0.8925 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1129, allocations: 340.2 kB / 0.8928 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007851/0.1137, allocations: 320.1 kB / 0.8932 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.1139, allocations: 136.4 kB / 0.8933 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of SimCode: time 1.953e-06/0.1139, allocations: 0 / 0.8933 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.04104/0.1549, allocations: 33.4 MB / 0.9259 GB, free: 11.95 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.967592415865511]