Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001955, allocations: 189.6 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 251.6 MB / 0.5089 GB, free: 3.297 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.6217 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5275, allocations: 104.7 MB / 0.724 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04099/0.5685, allocations: 41.27 MB / 0.7643 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.5832, allocations: 10.2 MB / 0.7742 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.5856, allocations: 51.69 kB / 0.7743 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.5877, allocations: 0.5634 MB / 0.7748 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.5926, allocations: 1.746 MB / 0.7766 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.5957, allocations: 1.055 MB / 0.7776 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004418/0.6001, allocations: 3.391 MB / 0.7809 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.6018, allocations: 1.044 MB / 0.7819 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.6049, allocations: 1.252 MB / 0.7831 GB, free: 384 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.6064, allocations: 0.9218 MB / 0.784 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.6067, allocations: 100 kB / 0.7841 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.6089, allocations: 0.8654 MB / 0.785 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.6093, allocations: 275 kB / 0.7852 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.6104, allocations: 0.6221 MB / 0.7858 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.6134, allocations: 1.893 MB / 0.7877 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6134, allocations: 3.938 kB / 0.7877 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6134, allocations: 0 / 0.7877 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.815e-05/0.6135, allocations: 4 kB / 0.7877 GB, free: 11.68 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002614/0.6161, allocations: 1.499 MB / 0.7892 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6161, allocations: 12.03 kB / 0.7892 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.6165, allocations: 135.4 kB / 0.7893 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.6181, allocations: 1.072 MB / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.6182, allocations: 54 kB / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.6183, allocations: 68 kB / 0.7905 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.6196, allocations: 0.7944 MB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.6197, allocations: 3.938 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.6197, allocations: 28 kB / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.6198, allocations: 16 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.6208, allocations: 0.5711 MB / 0.7918 GB, free: 7.305 MB / 0.6075 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.003782/0.6246, allocations: 3.528 MB / 0.7953 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.6252, allocations: 265.5 kB / 0.7955 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.6255, allocations: 176.8 kB / 0.7957 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/0.626, allocations: 0.657 MB / 0.7964 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.6261, allocations: 42.5 kB / 0.7964 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.6261, allocations: 4 kB / 0.7964 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001198/0.6273, allocations: 0.5059 MB / 0.7969 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6273, allocations: 55.41 kB / 0.7969 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.6284, allocations: 0.9293 MB / 0.7979 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.6285, allocations: 29.7 kB / 0.7979 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.6288, allocations: 499.6 kB / 0.7984 GB, free: 196 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.629, allocations: 114.4 kB / 0.7985 GB, free: 80 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.6291, allocations: 110.2 kB / 0.7986 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6293, allocations: 329.9 kB / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.6296, allocations: 165 kB / 0.799 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.6301, allocations: 354.9 kB / 0.7994 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.6309, allocations: 0.5146 MB / 0.7999 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6309, allocations: 0 / 0.7999 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00112/0.6321, allocations: 0.6174 MB / 0.8005 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6321, allocations: 12.12 kB / 0.8005 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6321, allocations: 4 kB / 0.8005 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6321, allocations: 8 kB / 0.8005 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.6326, allocations: 123.8 kB / 0.8006 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.6326, allocations: 8 kB / 0.8006 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.6333, allocations: 107.2 kB / 0.8007 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.6334, allocations: 31.92 kB / 0.8008 GB, free: 13.55 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004356/0.6338, allocations: 281.5 kB / 0.801 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.634, allocations: 98.84 kB / 0.8011 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/0.6349, allocations: 489.9 kB / 0.8016 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.635, allocations: 4 kB / 0.8016 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.635, allocations: 0 / 0.8016 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006797/0.6356, allocations: 460.8 kB / 0.802 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.6377, allocations: 1.334 MB / 0.8033 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6377, allocations: 0 / 0.8033 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.6381, allocations: 75.88 kB / 0.8034 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6381, allocations: 7.938 kB / 0.8034 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.6381, allocations: 12 kB / 0.8034 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.6381, allocations: 4 kB / 0.8034 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.6381, allocations: 8.094 kB / 0.8035 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6394, allocations: 0.7578 MB / 0.8042 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.6398, allocations: 227.7 kB / 0.8044 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.6399, allocations: 4 kB / 0.8044 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.6405, allocations: 56 kB / 0.8045 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.6406, allocations: 27.91 kB / 0.8045 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.6406, allocations: 15.98 kB / 0.8045 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008548/0.6415, allocations: 0.643 MB / 0.8051 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6415, allocations: 4 kB / 0.8051 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009581/0.6424, allocations: 327.5 kB / 0.8055 GB, free: 8.578 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007153/0.6432, allocations: 388.9 kB / 0.8058 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009405/0.6441, allocations: 448.9 kB / 0.8063 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6441, allocations: 0 / 0.8063 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.6445, allocations: 188.5 kB / 0.8064 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.647, allocations: 0.6151 MB / 0.807 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.6494, allocations: 1.923 MB / 0.8089 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.65, allocations: 1.028 MB / 0.8099 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009726/0.651, allocations: 201.6 kB / 0.8101 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.6512, allocations: 83.41 kB / 0.8102 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.6512, allocations: 0 / 0.8102 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.03317/0.6844, allocations: 20.67 MB / 0.8304 GB, free: 15.32 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)