Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001536/0.001536, allocations: 78.92 kB / 19.01 MB, free: 2.691 MB / 14.72 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.001546/0.001546, allocations: 164.2 kB / 22.26 MB, free: 4.727 MB / 14.72 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 1.42/1.42, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002439/0.002439, allocations: 226.6 kB / 259.2 MB, free: 0.5781 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.058/1.058, allocations: 138.5 MB / 454.2 MB, free: 2.059 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003009/0.003009, allocations: 110.8 kB / 0.6466 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4308, allocations: 95.34 MB / 0.7397 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08079/0.5116, allocations: 70.62 MB / 0.8087 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02712/0.5387, allocations: 17.57 MB / 0.8258 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003702/0.5424, allocations: 150.7 kB / 0.826 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003758/0.5462, allocations: 1.246 MB / 0.8272 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.5571, allocations: 3.866 MB / 0.831 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005834/0.563, allocations: 2.148 MB / 0.8331 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009464/0.5724, allocations: 6.787 MB / 0.8397 GB, free: 8.535 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.5749, allocations: 1.58 MB / 0.8412 GB, free: 6.906 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006796/0.5817, allocations: 3.307 MB / 0.8445 GB, free: 3.598 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002879/0.5846, allocations: 1.781 MB / 0.8462 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003278/0.5849, allocations: 200 kB / 0.8464 GB, free: 1.613 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.5881, allocations: 1.337 MB / 0.8477 GB, free: 280 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006307/0.5887, allocations: 0.5758 MB / 0.8483 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.59, allocations: 1.003 MB / 0.8492 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005434/0.5954, allocations: 3.789 MB / 0.8529 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5954, allocations: 0 / 0.8529 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5955, allocations: 0 / 0.8529 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.222e-05/0.5955, allocations: 0 / 0.8529 GB, free: 10.89 MB / 0.6856 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.00442/0.5999, allocations: 2.707 MB / 0.8556 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5999, allocations: 13.34 kB / 0.8556 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/0.6006, allocations: 275.3 kB / 0.8559 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/0.604, allocations: 1.964 MB / 0.8578 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.6041, allocations: 106.7 kB / 0.8579 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.6043, allocations: 144 kB / 0.858 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.6072, allocations: 1.825 MB / 0.8598 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.6073, allocations: 3.953 kB / 0.8598 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.6074, allocations: 56 kB / 0.8599 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.6074, allocations: 40 kB / 0.8599 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.6097, allocations: 1.119 MB / 0.861 GB, free: 2.398 MB / 0.6856 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.007746/0.6175, allocations: 5.097 MB / 0.866 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.6185, allocations: 449 kB / 0.8664 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/0.6191, allocations: 309.4 kB / 0.8667 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003933/0.6195, allocations: 104.4 kB / 0.8668 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.6196, allocations: 59 kB / 0.8669 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 2.365e-06/0.6196, allocations: 0 / 0.8669 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.002252/0.6218, allocations: 0.9371 MB / 0.8678 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.6219, allocations: 63.89 kB / 0.8678 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.624, allocations: 1.535 MB / 0.8693 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.6241, allocations: 41.7 kB / 0.8694 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009006/0.625, allocations: 0.959 MB / 0.8703 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.6252, allocations: 234.1 kB / 0.8705 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.6255, allocations: 222.8 kB / 0.8707 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.6257, allocations: 353.9 kB / 0.8711 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/0.6264, allocations: 330.4 kB / 0.8714 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.6277, allocations: 0.9701 MB / 0.8723 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.6294, allocations: 1.017 MB / 0.8733 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.6294, allocations: 4 kB / 0.8733 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00246/0.6318, allocations: 1.203 MB / 0.8745 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.6319, allocations: 8 kB / 0.8745 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.6319, allocations: 12 kB / 0.8745 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.6319, allocations: 16 kB / 0.8745 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.6329, allocations: 296.2 kB / 0.8748 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/0.633, allocations: 19.92 kB / 0.8748 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.6341, allocations: 139.2 kB / 0.875 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.473e-05/0.6342, allocations: 48 kB / 0.875 GB, free: 3.461 MB / 0.7012 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.0007949/0.635, allocations: 446.7 kB / 0.8754 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.6353, allocations: 174.9 kB / 0.8756 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.6371, allocations: 0.8555 MB / 0.8765 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.6371, allocations: 8 kB / 0.8765 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6371, allocations: 3.984 kB / 0.8765 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/0.6385, allocations: 0.8018 MB / 0.8772 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/0.6423, allocations: 2.069 MB / 0.8793 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6423, allocations: 4 kB / 0.8793 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/0.6431, allocations: 180 kB / 0.8794 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.6431, allocations: 7.938 kB / 0.8794 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.6432, allocations: 23.92 kB / 0.8795 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.6432, allocations: 7.938 kB / 0.8795 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6432, allocations: 0 / 0.8795 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.6456, allocations: 1.332 MB / 0.8808 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005956/0.6462, allocations: 266.6 kB / 0.881 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.6464, allocations: 15.94 kB / 0.8811 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/0.6472, allocations: 63.86 kB / 0.8811 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.6473, allocations: 52.41 kB / 0.8812 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.6474, allocations: 31.98 kB / 0.8812 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001453/0.6488, allocations: 1.02 MB / 0.8822 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6488, allocations: 0 / 0.8822 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001807/0.6506, allocations: 0.6818 MB / 0.8829 GB, free: 11.29 MB / 0.7169 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.0009738/0.6516, allocations: 0.5917 MB / 0.8834 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.6533, allocations: 0.7932 MB / 0.8842 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6533, allocations: 4.062 kB / 0.8842 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.654, allocations: 334.6 kB / 0.8845 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.6574, allocations: 0.9034 MB / 0.8854 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.6623, allocations: 3.07 MB / 0.8884 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009374/0.6633, allocations: 0.8265 MB / 0.8892 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001105/0.6644, allocations: 338.2 kB / 0.8895 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.6647, allocations: 136.5 kB / 0.8897 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of SimCode: time 8.61e-07/0.6647, allocations: 3.938 kB / 0.8897 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of Templates: time 0.06172/0.7264, allocations: 36.43 MB / 0.9252 GB, free: 0.5664 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.220155628398061] Failed to read output from testmodel.py, exit status != 0: 0.7357087731361389 0.750547018 0.15197379900000002 Calling exit ...