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.001171/0.001171, 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.001393/0.001393, allocations: 181 kB / 24.09 MB, free: 420 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.95/0.95, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.779/1.779, allocations: 359 MB / 0.6055 GB, free: 10.9 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.382e-06/1.382e-06, allocations: 0.6562 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.824e-05, allocations: 4.562 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01439/0.01441, allocations: 20.86 MB / 0.8079 GB, free: 7.289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.0274, allocations: 8.252 MB / 0.816 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003327/0.03073, allocations: 154.7 kB / 0.8161 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.03262, allocations: 0.6709 MB / 0.8168 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.03812, allocations: 2.459 MB / 0.8192 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.04205, allocations: 1.922 MB / 0.8211 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007992/0.05005, allocations: 6.664 MB / 0.8276 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.05277, allocations: 1.654 MB / 0.8292 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005902/0.05867, allocations: 3.186 MB / 0.8323 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.06132, allocations: 1.632 MB / 0.8339 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.06171, allocations: 192 kB / 0.8341 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.06277, allocations: 387.5 kB / 0.8345 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.06315, allocations: 0.5796 MB / 0.835 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009317/0.06409, allocations: 0.8418 MB / 0.8358 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.06638, allocations: 1.907 MB / 0.8377 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.06638, allocations: 0 / 0.8377 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.372e-06/0.06638, allocations: 0 / 0.8377 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.904e-05/0.06641, allocations: 0 / 0.8377 GB, free: 8.746 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.002618/0.06903, allocations: 2.658 MB / 0.8403 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.06907, allocations: 8.031 kB / 0.8403 GB, free: 6.023 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.06962, allocations: 411 kB / 0.8407 GB, free: 5.621 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.07139, allocations: 1.777 MB / 0.8424 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.07146, allocations: 110.7 kB / 0.8425 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.07162, allocations: 155.9 kB / 0.8427 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.07299, allocations: 1.323 MB / 0.844 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.07302, allocations: 7.938 kB / 0.844 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.0731, allocations: 56 kB / 0.844 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/0.07316, allocations: 43.98 kB / 0.8441 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.07367, allocations: 403.7 kB / 0.8445 GB, free: 1.516 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.004967/0.07864, allocations: 5.734 MB / 0.8501 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.07899, allocations: 225.6 kB / 0.8503 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.07913, allocations: 125.9 kB / 0.8504 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.07927, allocations: 50.31 kB / 0.8504 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.0793, allocations: 45.83 kB / 0.8505 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=59): time 2.074e-06/0.0793, allocations: 0 / 0.8505 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=59): time 0.0007162/0.08002, allocations: 0.4921 MB / 0.851 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.08006, allocations: 59.91 kB / 0.851 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.08111, allocations: 1.346 MB / 0.8523 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.08115, allocations: 41.7 kB / 0.8524 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.08173, allocations: 1.037 MB / 0.8534 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.08187, allocations: 230.1 kB / 0.8536 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.08208, allocations: 244.3 kB / 0.8539 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.08223, allocations: 0.5198 MB / 0.8544 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.08241, allocations: 114.5 kB / 0.8545 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.08292, allocations: 0.8935 MB / 0.8553 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.08354, allocations: 0.7465 MB / 0.8561 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.08355, allocations: 4 kB / 0.8561 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008955/0.08444, allocations: 0.8401 MB / 0.8569 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.08447, allocations: 8 kB / 0.8569 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.08448, allocations: 12 kB / 0.8569 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.0845, allocations: 16 kB / 0.8569 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.08497, allocations: 251.6 kB / 0.8572 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.08499, allocations: 24.3 kB / 0.8572 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.08553, allocations: 127.2 kB / 0.8573 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.08559, allocations: 43.98 kB / 0.8574 GB, free: 3.594 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.0002772/0.08586, allocations: 228.2 kB / 0.8576 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.08605, allocations: 202.8 kB / 0.8578 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.08662, allocations: 0.4964 MB / 0.8582 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.08663, allocations: 11.94 kB / 0.8583 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.08663, allocations: 4 kB / 0.8583 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003332/0.08696, allocations: 449.2 kB / 0.8587 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.0886, allocations: 1.503 MB / 0.8602 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.0886, allocations: 4 kB / 0.8602 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.08892, allocations: 156 kB / 0.8603 GB, free: 436 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.08893, allocations: 4 kB / 0.8603 GB, free: 432 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.08895, allocations: 16 kB / 0.8603 GB, free: 416 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.08896, allocations: 8 kB / 0.8603 GB, free: 408 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.08896, allocations: 4 kB / 0.8603 GB, free: 404 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000752/0.08972, allocations: 0.7994 MB / 0.8611 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.09006, allocations: 266.6 kB / 0.8614 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.09016, allocations: 19.98 kB / 0.8614 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.09053, allocations: 39.91 kB / 0.8614 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.09061, allocations: 60.28 kB / 0.8615 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.09065, allocations: 31.97 kB / 0.8615 GB, free: 15.12 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005353/0.09118, allocations: 0.7433 MB / 0.8623 GB, free: 14.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.09118, allocations: 0 / 0.8623 GB, free: 14.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001128/0.09231, allocations: 0.5146 MB / 0.8628 GB, free: 13.88 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.0004006/0.09271, allocations: 202.9 kB / 0.8629 GB, free: 13.67 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007237/0.09344, allocations: 463 kB / 0.8634 GB, free: 13.21 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.09344, allocations: 7.938 kB / 0.8634 GB, free: 13.21 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.09366, allocations: 175.6 kB / 0.8636 GB, free: 13.04 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.09594, allocations: 0.9431 MB / 0.8645 GB, free: 12.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.09965, allocations: 2.803 MB / 0.8672 GB, free: 9.223 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.09991, allocations: 340.2 kB / 0.8675 GB, free: 8.867 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000765/0.1007, allocations: 274.5 kB / 0.8678 GB, free: 8.598 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.1019, allocations: 0.7632 MB / 0.8686 GB, free: 7.832 MB / 0.823 GB Notification: Performance of SimCode: time 1.493e-06/0.1019, allocations: 0 / 0.8686 GB, free: 7.832 MB / 0.823 GB Notification: Performance of Templates: time 0.04169/0.1436, allocations: 33.62 MB / 0.9014 GB, free: 7.07 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.703652548138052]